Changeset 630 for trunk/Modules/Portal
- Timestamp:
- Jan 3, 2014, 10:41:52 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Portal/Portal.php
r619 r630 243 243 $Form->SetClass('UserLogin'); 244 244 $Form->OnSubmit = '?Action=Login'; 245 if( $_POST['StayLogged'] == 0) $StayLogged = true;245 if(array_key_exists('StayLogged', $_POST) and ($_POST['StayLogged'] == 'on')) $StayLogged = true; 246 246 else $StayLogged = false; 247 247 $Result = $this->System->User->Login($_POST['Username'], $_POST['Password'], $StayLogged);
Note:
See TracChangeset
for help on using the changeset viewer.