diff --git a/pwreset.php b/pwreset.php index b01a72d6d5..b2f0075375 100644 --- a/pwreset.php +++ b/pwreset.php @@ -22,7 +22,7 @@ $banner = __('Password reset is not enabled for your account. Contact your administrator'); } elseif (!$acct->hasPassword() - || (($bk=$acct->backend) && ($bk !== 'local'))) + || (($bk=$acct->backend) && ($bk !== 'client'))) $banner = __('Unable to reset password. Contact your administrator'); elseif ($acct->sendResetEmail()) { $inc = 'pwreset.sent.php';