-
- Downloads
Merge branch 'add_email_unlock' into 'master'
Allow account unlock via email We see a lot of users get confused about what it means when your account gets locked. Many try to reset their password and are still faced with a lockout. With this change, users receive an email that allows them to unlock their account immediately. The previous behavior where the account is auto-unlocked after a time also still works. See merge request !2049
No related branches found
No related tags found
Showing
- CHANGELOG 1 addition, 0 deletionsCHANGELOG
- app/models/user.rb 1 addition, 0 deletionsapp/models/user.rb
- app/views/devise/mailer/unlock_instructions.html.erb 0 additions, 7 deletionsapp/views/devise/mailer/unlock_instructions.html.erb
- app/views/devise/mailer/unlock_instructions.html.haml 10 additions, 0 deletionsapp/views/devise/mailer/unlock_instructions.html.haml
- app/views/devise/unlocks/new.html.erb 0 additions, 12 deletionsapp/views/devise/unlocks/new.html.erb
- app/views/devise/unlocks/new.html.haml 14 additions, 0 deletionsapp/views/devise/unlocks/new.html.haml
- config/initializers/devise.rb 2 additions, 2 deletionsconfig/initializers/devise.rb
- db/migrate/20151210030143_add_unlock_token_to_user.rb 5 additions, 0 deletionsdb/migrate/20151210030143_add_unlock_token_to_user.rb
- db/schema.rb 1 addition, 0 deletionsdb/schema.rb
- spec/models/user_spec.rb 1 addition, 0 deletionsspec/models/user_spec.rb
app/views/devise/unlocks/new.html.haml
0 → 100644
Please register or sign in to comment