1
0

fixing multilingual issues: display languages in native names and fix initialition point of plugins

This commit is contained in:
Stephan Brunker
2019-10-20 16:22:10 +02:00
committed by onli
parent f9d43d20a3
commit 5c4c11f0b4
3 changed files with 46 additions and 39 deletions

View File

@ -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;
}
}
}
}