diff options
author | Gabriel Vazquez <leviatan21@phpbb.com> | 2009-06-24 02:56:05 +0000 |
---|---|---|
committer | Gabriel Vazquez <leviatan21@phpbb.com> | 2009-06-24 02:56:05 +0000 |
commit | 19e2dcd5db7f2a910409b82ce315265608ae8266 (patch) | |
tree | 1dff215f74a2acc9330cbd2ed8d030ba45a7becb /phpBB/includes/session.php | |
parent | 723d4c562811b928528d6ff5b52069df36659b8f (diff) | |
download | forums-19e2dcd5db7f2a910409b82ce315265608ae8266.tar forums-19e2dcd5db7f2a910409b82ce315265608ae8266.tar.gz forums-19e2dcd5db7f2a910409b82ce315265608ae8266.tar.bz2 forums-19e2dcd5db7f2a910409b82ce315265608ae8266.tar.xz forums-19e2dcd5db7f2a910409b82ce315265608ae8266.zip |
Fixed Bug #47145 - [Fix] Correctly check banned users when force password change
Authorised by: AcydBurn
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9665 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/session.php')
-rw-r--r-- | phpBB/includes/session.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/session.php b/phpBB/includes/session.php index 509e11e524..c1bc4b3f31 100644 --- a/phpBB/includes/session.php +++ b/phpBB/includes/session.php @@ -1833,7 +1833,7 @@ class user extends session // Does the user need to change their password? If so, redirect to the // ucp profile reg_details page ... of course do not redirect if we're already in the ucp - if (!defined('IN_ADMIN') && !defined('ADMIN_START') && $config['chg_passforce'] && $this->data['is_registered'] && $auth->acl_get('u_chgpasswd') && $this->data['user_passchg'] < time() - ($config['chg_passforce'] * 86400)) + if (!defined('IN_ADMIN') && !defined('ADMIN_START') && $config['chg_passforce'] && !empty($this->data['is_registered']) && $auth->acl_get('u_chgpasswd') && $this->data['user_passchg'] < time() - ($config['chg_passforce'] * 86400)) { if (strpos($this->page['query_string'], 'mode=reg_details') === false && $this->page['page_name'] != "ucp.$phpEx") { |