app/views/active_admin/devise/mailer/unlock_instructions.html.erb in activeadmin-2.8.1 vs app/views/active_admin/devise/mailer/unlock_instructions.html.erb in activeadmin-2.9.0
- old
+ new
@@ -1,7 +1,7 @@
<p>Hello <%= @resource.email %>!</p>
-<p>Your account has been locked due to an excessive amount of unsuccessful sign in attempts.</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: @resource.unlock_token) %></p>
+<p><%= link_to 'Unlock my account', unlock_url(@resource, unlock_token: @token) %></p>