Changeset 369
- Timestamp:
- 2009-10-11 16:29:31 (2 years ago)
- Files:
-
- trunk/classes/misc/Member.php (modified) (1 diff)
- trunk/classes/pages/Page.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/classes/misc/Member.php
r365 r369 1160 1160 if ($_SESSION['pages'] == 1) { 1161 1161 // check if returning user who has saved credentials in cookie 1162 if ( isset($_COOKIE['sb_user']) && $_COOKIE['sb_user'] != '') {1162 if ((!isset($_SESSION['memberid']) || $_SESSION['memberid'] == 0) && isset($_COOKIE['sb_user']) && $_COOKIE['sb_user'] != '') { 1163 1163 // decrypt cookie contents 1164 1164 $e = new Encryption(); trunk/classes/pages/Page.php
r361 r369 63 63 /* Have some kind of manual per-page login credentials been posted? 64 64 * This shouldn't be checked on 'Userpanel' page, because there is a special handling of that there. */ 65 if ( $INPUT['show'] != 'userpanel' && isset($INPUT['user']) && $INPUT['user'] != '' && isset($INPUT['password']) && $INPUT['password'] !='') {65 if ((!isset($_SESSION['memberid']) || $_SESSION['memberid'] == 0) && $INPUT['show'] != 'userpanel' && isset($INPUT['user']) && $INPUT['user'] != '' && isset($INPUT['password']) && $INPUT['password'] !='') { 66 66 if (Member::authenticate($INPUT['user'], $INPUT['password'])) { 67 67 // authenticated for this step
