mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-22 11:48:06 +01:00
Suspicious sign in detector: Use correct constant name.
Bruh.
This commit is contained in:
parent
3d3d958aba
commit
f322057609
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ class SuspiciousSignInDetector
|
|||
end
|
||||
|
||||
def suspicious?(request)
|
||||
!sufficient_security_measures? && !freshly_signed_up? && !previously_seen_ip?(request) if DISABLE_SUSPICIOUS_SIGN_IN
|
||||
!sufficient_security_measures? && !freshly_signed_up? && !previously_seen_ip?(request) if ENABLE_SUSPICIOUS_SIGN_IN
|
||||
end
|
||||
|
||||
private
|
||||
|
|
Loading…
Reference in a new issue