phone validation: bugfixes, tweaks and refinements

This commit is contained in:
Kyle Drake 2023-11-10 11:53:43 -06:00
parent 143704215f
commit 40e848e2c0
6 changed files with 58 additions and 16 deletions

View file

@ -167,6 +167,9 @@ class Site < Sequel::Model
BLACK_BOX_WAIT_TIME = 10.seconds
MAX_DISPLAY_FOLLOWS = 56*3
PHONE_VERIFICATION_EXPIRATION_TIME = 10.minutes
PHONE_VERIFICATION_LOCKOUT_ATTEMPTS = 3
many_to_many :tags
one_to_many :profile_comments