mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-20 08:44:46 +02:00

Cleaned up the code a bit, also checks TOTP before attemping to verify user. This addresses the potential for an attacker to try at a password and/or confirm that the password is correct unless they have a valid TOTP code for the request. A failed TOTP response will trigger a throttle count on the login as well.