$::auth->set_session_value('login', $::form->{login}, 'password', $::form->{password});
$::auth->create_or_refresh_session;
- $::auth->delete_session_value('FLASH')->save_session();
+ $::auth->delete_session_value('FLASH');
delete $::form->{password};
if ($action) {
$::form = undef;
$::myconfig = ();
Form::disconnect_standard_dbh;
+ $::auth->expire_session_keys->save_session;
$::auth->dbdisconnect;
$::lxdebug->end_request;