From 7805cd9428c49732dc3f90fdbc86eb8c4fac0ff9 Mon Sep 17 00:00:00 2001 From: Claudio Nicora Date: Tue, 21 Mar 2023 12:04:54 +0100 Subject: [PATCH] Fix PR #6283: DB column value of "local backend" is 'client' and not 'local' --- pwreset.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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';