mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 01:25:56 +00:00
normalize some mismatching hook function definitions to match base Plugin class
This commit is contained in:
@@ -8,8 +8,8 @@ abstract class Auth_Base extends Plugin implements IAuthModule {
|
||||
$this->pdo = Db::pdo();
|
||||
}
|
||||
|
||||
function hook_auth_user(...$args) {
|
||||
return $this->authenticate(...$args);
|
||||
function hook_auth_user($login, $password, $service = '') {
|
||||
return $this->authenticate($login, $password, $service);
|
||||
}
|
||||
|
||||
// Auto-creates specified user if allowed by system configuration
|
||||
|
||||
Reference in New Issue
Block a user