mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 17:25:55 +00:00
fix hierarchy of authentication modules, make everything extend Auth_Base and implement hook_auth_user() for pluginhost
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
interface IAuthModule {
|
||||
function authenticate($login, $password); // + optional third parameter: $service
|
||||
function hook_auth_user(...$args); // compatibility wrapper due to how hooks work
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user