1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-02 23:39:14 +00:00

add placeholder authentication via app passwords if service is passed

forbid logins via regular passwords for services
remove AUTH_DISABLE_OTP
This commit is contained in:
Andrew Dolgov
2019-11-01 13:03:06 +03:00
parent 88cd9e586e
commit 68b0380118
6 changed files with 160 additions and 143 deletions

View File

@@ -1,4 +1,4 @@
<?php
interface IAuthModule {
function authenticate($login, $password);
function authenticate($login, $password); // + optional third parameter: $service
}