diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2007-04-02 15:47:23 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2007-04-02 15:47:23 +0000 |
| commit | 1d1b5e6446667cc03cb765c789e269b4efa7e3a8 (patch) | |
| tree | 4c61193c8211363f6a70e38748c022df1e984e41 /phpBB/includes/session.php | |
| parent | 9850d7756ac0a140077264b8a152ff15495aa229 (diff) | |
| download | forums-1d1b5e6446667cc03cb765c789e269b4efa7e3a8.tar forums-1d1b5e6446667cc03cb765c789e269b4efa7e3a8.tar.gz forums-1d1b5e6446667cc03cb765c789e269b4efa7e3a8.tar.bz2 forums-1d1b5e6446667cc03cb765c789e269b4efa7e3a8.tar.xz forums-1d1b5e6446667cc03cb765c789e269b4efa7e3a8.zip | |
some fixes...
git-svn-id: file:///svn/phpbb/trunk@7266 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 454c4fd648..2b845bc4d7 100644 --- a/phpBB/includes/session.php +++ b/phpBB/includes/session.php @@ -1409,7 +1409,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'] && $this->data['user_passchg'] < time() - ($config['chg_passforce'] * 86400)) + 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 (strpos($this->page['query_string'], 'mode=reg_details') === false && $this->page['page_name'] != "ucp.$phpEx") { |
