mirror of
https://github.com/heartcombo/devise.git
synced 2026-01-10 07:18:14 -05:00
Update warden which fixes a security issue.
This commit is contained in:
@@ -14,6 +14,10 @@
|
||||
<p>Hello User <%= current_user.email %>! You are signed in!</p>
|
||||
<% end -%>
|
||||
|
||||
<% if admin_signed_in? -%>
|
||||
<p>Hello Admin <%= current_admin.email %>! You are signed in!</p>
|
||||
<% end -%>
|
||||
|
||||
<%= yield %>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user