mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-08 17:07:03 +03:00
When login don't reload the whole browser. Just rebuilt screens
This commit is contained in:
parent
d3500e2921
commit
e52addf346
16 changed files with 74 additions and 57 deletions
|
|
@ -198,7 +198,7 @@ trait Admin
|
|||
$sToken = $this->getAdminToken();
|
||||
$this->setAdminAuthToken($sToken);
|
||||
|
||||
return $this->DefaultResponse(__FUNCTION__, $sToken ? true : false);
|
||||
return $this->DefaultResponse(__FUNCTION__, $sToken ? $this->AppData(true) : false);
|
||||
}
|
||||
|
||||
public function DoAdminLogout() : array
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ trait User
|
|||
}
|
||||
}
|
||||
|
||||
return $this->TrueResponse(__FUNCTION__);
|
||||
return $this->DefaultResponse(__FUNCTION__, $this->AppData(false));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue