Subversion Repositories oidplus

Rev

Rev 1199 | Rev 1267 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1199 Rev 1200
Line 25... Line 25...
25
# More information about the OAuth2 implementation:
25
# More information about the OAuth2 implementation:
26
# - https://developers.google.com/identity/protocols/oauth2/openid-connect
26
# - https://developers.google.com/identity/protocols/oauth2/openid-connect
27
 
27
 
28
require_once __DIR__ . '/../../../../includes/oidplus.inc.php';
28
require_once __DIR__ . '/../../../../includes/oidplus.inc.php';
29
 
29
 
30
OIDplus::init(true);
-
 
31
set_exception_handler(array(OIDplusGui::class, 'html_exception_handler'));
30
set_exception_handler(array(OIDplusGui::class, 'html_exception_handler'));
32
 
31
 
-
 
32
OIDplus::init(true);
-
 
33
 
33
if (OIDplus::baseConfig()->getValue('DISABLE_PLUGIN_ViaThinkSoft\OIDplus\OIDplusPagePublicLoginGoogle', false)) {
34
if (OIDplus::baseConfig()->getValue('DISABLE_PLUGIN_ViaThinkSoft\OIDplus\OIDplusPagePublicLoginGoogle', false)) {
34
        throw new OIDplusException(_L('This plugin was disabled by the system administrator!'));
35
        throw new OIDplusException(_L('This plugin was disabled by the system administrator!'));
35
}
36
}
36
 
37
 
37
if (!OIDplus::baseConfig()->getValue('GOOGLE_OAUTH2_ENABLED', false)) {
38
if (!OIDplus::baseConfig()->getValue('GOOGLE_OAUTH2_ENABLED', false)) {