- preload for fonts

- minor pagespeed improvements
This commit is contained in:
Mark Friedrich
2018-06-09 02:36:07 +02:00
parent f95d43a884
commit 94f86e7566
12 changed files with 55 additions and 49 deletions

View File

@@ -213,11 +213,11 @@ class Map extends Controller\AccessController {
// get SSO error messages that should be shown immediately ----------------------------------------------------
// -> e.g. errors while character switch from previous HTTP requests
if( $f3->exists(Controller\Ccp\Sso::SESSION_KEY_SSO_ERROR) ){
if($f3->exists(Controller\Ccp\Sso::SESSION_KEY_SSO_ERROR, $message)){
$ssoError = (object) [];
$ssoError->type = 'error';
$ssoError->title = 'Login failed';
$ssoError->message = $f3->get(Controller\Ccp\Sso::SESSION_KEY_SSO_ERROR);
$ssoError->message = $message;
$return->error[] = $ssoError;
$f3->clear(Controller\Ccp\Sso::SESSION_KEY_SSO_ERROR);
}