fixing multilingual issues: display languages in native names and fix initialition point of plugins
This commit is contained in:
@ -32,6 +32,12 @@ if (isset($serendipity['GET']['adminModule']) && $serendipity['GET']['adminModul
|
||||
if (!serendipity_userLoggedIn()) {
|
||||
// Try again to log in, this time with enabled external authentication event hook
|
||||
serendipity_login(true);
|
||||
if (serendipity_userLoggedIn()) {
|
||||
// login with external authentication - reload page to set language settings correct for user
|
||||
include_once S9Y_INCLUDE_PATH . 'include/functions_routing.inc.php';
|
||||
gotoAdmin();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user