mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:18 +01:00
set the session cache only when not in admin mode
This commit is contained in:
parent
b860d7fb50
commit
6bff18eadd
@ -245,7 +245,7 @@ class auth_ldap implements auth_backend
|
||||
{
|
||||
return false;
|
||||
}
|
||||
egw_cache::setSession('phpgwapi','auth_alpwchange_val',$entry['shadowlastchange']);
|
||||
if (!$admin) egw_cache::setSession('phpgwapi','auth_alpwchange_val',$entry['shadowlastchange']);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -184,7 +184,7 @@ class auth_sql implements auth_backend
|
||||
),__LINE__,__FILE__);
|
||||
|
||||
if(!$this->db->affected_rows()) return false;
|
||||
egw_cache::setSession('phpgwapi','auth_alpwchange_val',$lastpwdchange);
|
||||
if (!$admin) egw_cache::setSession('phpgwapi','auth_alpwchange_val',$lastpwdchange);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user