mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 19:49:20 +03:00
Added allow_universal_login setting (login in to admin panel using main login form)
This commit is contained in:
parent
81d3d40369
commit
79ad7ccd0b
5 changed files with 49 additions and 4 deletions
|
|
@ -37,7 +37,7 @@
|
|||
PaneSettingsAdminView.prototype.logoutClick = function ()
|
||||
{
|
||||
Remote.adminLogout(function () {
|
||||
require('App/Admin').loginAndLogoutReload();
|
||||
require('App/Admin').loginAndLogoutReload(true);
|
||||
});
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -128,6 +128,10 @@
|
|||
|
||||
this.submitRequest(false);
|
||||
}
|
||||
else if (oData.Admin)
|
||||
{
|
||||
require('App/App').redirectToAdminPanel();
|
||||
}
|
||||
else
|
||||
{
|
||||
require('App/App').loginAndLogoutReload();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue