Skip to content
Snippets Groups Projects
Commit f9e0a85c authored by Anna Dabrowska's avatar Anna Dabrowska
Browse files

Correct type of authorization method

Fixes #1
parent cf22df2f
No related branches found
No related tags found
No related merge requests found
...@@ -32,6 +32,6 @@ class Generic extends AbstractOAuth2Base ...@@ -32,6 +32,6 @@ class Generic extends AbstractOAuth2Base
{ {
$plugin = plugin_load('helper', 'oauthgeneric'); $plugin = plugin_load('helper', 'oauthgeneric');
return $plugin->getConf('authmethod'); return (int) $plugin->getConf('authmethod');
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment