summaryrefslogtreecommitdiff
path: root/plugins/auth_internal
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-11-14 10:48:32 +0300
committerAndrew Dolgov <[email protected]>2021-11-14 10:48:32 +0300
commit81a10f69bcc38b62aad79f9be716adcf4ed49d2d (patch)
treef72d09c8e0e3d66d53634a21b1e9c90bc7b908dc /plugins/auth_internal
parent5a50c333b29a51cff50e972cd2378ac884f84f9c (diff)
deal with phpstan warnings related to base authentication modules
Diffstat (limited to 'plugins/auth_internal')
-rw-r--r--plugins/auth_internal/init.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/auth_internal/init.php b/plugins/auth_internal/init.php
index 77f7596f0..b66f7719b 100644
--- a/plugins/auth_internal/init.php
+++ b/plugins/auth_internal/init.php
@@ -12,6 +12,7 @@ class Auth_Internal extends Auth_Base {
$host->add_hook($host::HOOK_AUTH_USER, $this);
}
+ /** @param string $service */
function authenticate($login, $password, $service = '') {
$otp = (int) ($_REQUEST["otp"] ?? 0);