-
- Downloads
Add e-mail-based sign in challenge for users with disabled 2FA (#14013)
Showing
- app/controllers/auth/sessions_controller.rb 5 additions, 45 deletionsapp/controllers/auth/sessions_controller.rb
- app/controllers/concerns/sign_in_token_authentication_concern.rb 49 additions, 0 deletions...trollers/concerns/sign_in_token_authentication_concern.rb
- app/controllers/concerns/two_factor_authentication_concern.rb 47 additions, 0 deletions...controllers/concerns/two_factor_authentication_concern.rb
- app/mailers/user_mailer.rb 17 additions, 0 deletionsapp/mailers/user_mailer.rb
- app/models/user.rb 27 additions, 1 deletionapp/models/user.rb
- app/views/auth/sessions/sign_in_token.html.haml 14 additions, 0 deletionsapp/views/auth/sessions/sign_in_token.html.haml
- app/views/user_mailer/sign_in_token.html.haml 105 additions, 0 deletionsapp/views/user_mailer/sign_in_token.html.haml
- app/views/user_mailer/sign_in_token.text.erb 17 additions, 0 deletionsapp/views/user_mailer/sign_in_token.text.erb
- config/locales/en.yml 9 additions, 0 deletionsconfig/locales/en.yml
- config/locales/simple_form.en.yml 1 addition, 0 deletionsconfig/locales/simple_form.en.yml
- db/migrate/20200608113046_add_sign_in_token_to_users.rb 6 additions, 0 deletionsdb/migrate/20200608113046_add_sign_in_token_to_users.rb
- db/schema.rb 4 additions, 1 deletiondb/schema.rb
- spec/controllers/auth/sessions_controller_spec.rb 62 additions, 4 deletionsspec/controllers/auth/sessions_controller_spec.rb
- spec/mailers/previews/user_mailer_preview.rb 5 additions, 0 deletionsspec/mailers/previews/user_mailer_preview.rb
app/views/user_mailer/sign_in_token.text.erb
0 → 100644
Please register or sign in to comment