Playing with OmniAuth
However OmniAuth is mainly used for authorization. So let's try a more lightweight approach with just OpenID.
This commit is contained in:
parent
8d15711c0f
commit
898dd81c6b
15 changed files with 219 additions and 21 deletions
7
app/views/devise/mailer/unlock_instructions.html.erb
Normal file
7
app/views/devise/mailer/unlock_instructions.html.erb
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
<p>Hello <%= @resource.email %>!</p>
|
||||
|
||||
<p>Your account has been locked due to an excessive number of unsuccessful sign in attempts.</p>
|
||||
|
||||
<p>Click the link below to unlock your account:</p>
|
||||
|
||||
<p><%= link_to 'Unlock my account', unlock_url(@resource, unlock_token: @token) %></p>
|
||||
Loading…
Add table
Add a link
Reference in a new issue