From 4055f1faf4dec0b2c21f2c522dd5f2ef6ffd3cb6 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 27 Jul 2016 10:19:15 +0200 Subject: [PATCH] fix not working forced password change on login page with fallback auth --- api/src/Auth/Fallback.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Auth/Fallback.php b/api/src/Auth/Fallback.php index 57816acb40..a3d0caa1c4 100644 --- a/api/src/Auth/Fallback.php +++ b/api/src/Auth/Fallback.php @@ -93,7 +93,7 @@ class Fallback implements Backend */ function change_password($old_passwd, $new_passwd, $account_id=0) { - if(!$account_id || $GLOBALS['egw_info']['flags']['currentapp'] == 'login') + if(!$account_id) { $account_id = $GLOBALS['egw_info']['user']['account_id']; $username = $GLOBALS['egw_info']['user']['account_lid'];