Problem:
It seems that log-in to tt-rss call twice the check_password() function (with the uid of the user trying to login), and this result in a log message : “Too many authentication attempts for USER, throttled.”
Tests:
I tried to log in “no failure” mode (to avoid plugins to interact with the standard login behaviour).
I tried on an account with 2FA activated and another without.
tt-rss version:
v21.10-a936e8063 from git repos ; not a Docker installation
Platform (i.e. Linux distro, PHP, PostgreSQL, etc) versions:
Standard LAMP with php 7.4, Apache 2.4, MariaDB 10.x
Current debugging:
I added a short line of code to print backtrace, and it gives:
-
first call:
1. plugins/auth_internal/init.php(140): check_password(18, *edited*)
2. classes/auth/base.php(13): authenticate(test_user, *edited*, )
3. classes/pluginhost.php(198): hook_auth_user(test_user, *edited*, )
4. classes/userhelper.php(25): chain_hooks_callback(hook_auth_user, {Closure}, test_user, *edited*, )
5. classes/handler/public.php(362): authenticate(test_user, *edited*)
6. public.php(50): login()
-
second call:
1. classes/userhelper.php(326): check_password(18, password)
2. classes/rpc.php(447): is_default_password()
3. classes/rpc.php(196): _make_init_params()
4. backend.php(133): sanityCheck()
-
subsequently:
"Too many authentication attempts for test_user, throttled."
Do anyone report the same problem (in the system logs)?
Is there anything I don’t see anywhere?
Thanks for all kind of clue, if you have some.