mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 08:23:12 +01:00
Added base64 encodeing to fix invaild char in passwords
This commit is contained in:
parent
c00f21482e
commit
8831087537
@ -134,7 +134,7 @@
|
||||
$phpgw_info['hooks'] = $this->hooks;
|
||||
|
||||
$phpgw_info['user']['session_ip'] = $db->f('session_ip');
|
||||
$phpgw_info['user']['passwd'] = $this->appsession('password','phpgwapi');
|
||||
$phpgw_info['user']['passwd'] = base64_decode($this->appsession('password','phpgwapi'));
|
||||
|
||||
if ($userid_array[1] != $phpgw_info['user']['domain'])
|
||||
{
|
||||
@ -254,7 +254,7 @@
|
||||
$phpgw_info['user'] = $this->user;
|
||||
$phpgw_info['hooks'] = $this->hooks;
|
||||
|
||||
$this->appsession('password','phpgwapi',$this->passwd);
|
||||
$this->appsession('password','phpgwapi',base64_encode($this->passwd));
|
||||
if ($phpgw->acl->check('anonymous',1,'phpgwapi'))
|
||||
{
|
||||
$session_flags = 'A';
|
||||
|
Loading…
Reference in New Issue
Block a user