This commit is contained in:
the-djmaze 2022-12-24 19:21:32 +01:00
parent c41049ab94
commit 432d3b5f47

View file

@ -6,8 +6,8 @@ class LoginExternalPlugin extends \RainLoop\Plugins\AbstractPlugin
NAME = 'Login External', NAME = 'Login External',
AUTHOR = 'SnappyMail', AUTHOR = 'SnappyMail',
URL = 'https://snappymail.eu/', URL = 'https://snappymail.eu/',
VERSION = '1.0', VERSION = '1.1',
RELEASE = '2022-11-11', RELEASE = '2022-12-24',
REQUIRED = '2.21.0', REQUIRED = '2.21.0',
CATEGORY = 'Login', CATEGORY = 'Login',
LICENSE = 'MIT', LICENSE = 'MIT',
@ -58,7 +58,7 @@ class LoginExternalPlugin extends \RainLoop\Plugins\AbstractPlugin
$aResult['ErrorCode'] = Notifications::AuthError; $aResult['ErrorCode'] = Notifications::AuthError;
} }
} }
echo Utils::jsonEncode($aResult); echo \json_encode($aResult);
} else { } else {
$oActions->Location('./'); $oActions->Location('./');
} }