discourse/app/mailers
Jeff Wong f4f8a293e7 FEATURE: Implement 2factor login TOTP
implemented review items.

Blocking previous codes - valid 2-factor auth tokens can only be authenticated once/30 seconds.
I played with updating the “last used” any time the token was attempted but that seemed to be overkill, and frustrating as to why a token would fail.
Translatable texts.
Move second factor logic to a helper class.
Move second factor specific controller endpoints to its own controller.
Move serialization logic for 2-factor details in admin user views.
Add a login ember component for de-duplication
Fix up code formatting
Change verbiage of google authenticator

add controller tests:
second factor controller tests
change email tests
change password tests
admin login tests

add qunit tests - password reset, preferences

fix: check for 2factor on change email controller
fix: email controller - only show second factor errors on attempt
fix: check against 'true' to enable second factor.

Add modal for explaining what 2fa with links to Google Authenticator/FreeOTP

add two factor to email signin link

rate limit if second factor token present

add rate limiter test for second factor attempts
2018-02-21 09:04:07 +08:00
..
admin_confirmation_mailer.rb FIX: grant admin on subfolder 2017-10-27 16:46:02 -04:00
download_backup_mailer.rb FEATURE: further restrict downloading of backups 2017-03-01 08:28:34 -07:00
invite_mailer.rb FIX: correct use of invitee vs inviter in email templates 2017-12-04 14:09:48 +05:30
rejection_mailer.rb FEATURE: better email in support 2016-01-19 00:57:55 +01:00
subscription_mailer.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
test_mailer.rb Work in Progress: Reply By Email: 2013-06-13 12:39:56 -04:00
user_notifications.rb FEATURE: Implement 2factor login TOTP 2018-02-21 09:04:07 +08:00
version_mailer.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00