Changeset 871 for trunk/Modules
- Timestamp:
- Dec 10, 2016, 12:02:43 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/User/User.php
r870 r871 151 151 // Prepare cookies for permanent login 152 152 $StayLoggedSalt = $this->GetPasswordSalt(); 153 if($StayLogged == true) $StayLoggedValue = 1; else $StayLoggedValue = 0; 153 154 $this->Database->update('UserOnline', '`SessionId`="'.$SID.'"', array( 154 'User' => $User['ID'], 'StayLogged' => $StayLogged , 'StayLoggedHash' => $StayLoggedSalt));155 'User' => $User['ID'], 'StayLogged' => $StayLoggedValue, 'StayLoggedHash' => $StayLoggedSalt)); 155 156 if($StayLogged) 156 157 {
Note:
See TracChangeset
for help on using the changeset viewer.