Sha256: 091b6f3a2a2d88150c9eb56b8b1bd6e870405f32c99b7984817e2b6a613b88bf

Contents?: true

Size: 549 Bytes

Versions: 7

Compression:

Stored size: 549 Bytes

Contents

<p>
  This view gets displayed when the user tries to access something forbidden.
</p>

<% if current_user %>
<p>
  You should inform the user that they are logged in as
  <%= current_user.exuid %> and suggest them to
  <%= link_to 'Log out', session_path, :method => :delete %> and log in as a
  different user.
</p>
<% else %>
<p>
  The user will only see this if JavaScript is disabled. Ask them to
  <%= link_to 'Log in', new_session_path %>.
</p>
<script type="text/javascript">
window.location = "<%= new_session_path %>";
</script>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
authpwn_rails-0.14.0 lib/authpwn_rails/generators/templates/session/forbidden.html.erb
authpwn_rails-0.13.4 lib/authpwn_rails/generators/templates/session/forbidden.html.erb
authpwn_rails-0.13.3 lib/authpwn_rails/generators/templates/session/forbidden.html.erb
authpwn_rails-0.13.2 lib/authpwn_rails/generators/templates/session/forbidden.html.erb
authpwn_rails-0.13.1 lib/authpwn_rails/generators/templates/session/forbidden.html.erb
authpwn_rails-0.13.0 lib/authpwn_rails/generators/templates/session/forbidden.html.erb
authpwn_rails-0.12.1 lib/authpwn_rails/generators/templates/session/forbidden.html.erb