Sha256: 75cdd4e15f516e995bcc7b26e7e1378874660182780fae56d19c67f435f0a479

Contents?: true

Size: 552 Bytes

Versions: 8

Compression:

Stored size: 552 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 => :destroy %> 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

8 entries across 7 versions & 1 rubygems

Version Path
authpwn_rails-0.10.6 test/fixtures/bare_session/forbidden.html.erb
authpwn_rails-0.10.6 lib/authpwn_rails/generators/templates/session/forbidden.html.erb
authpwn_rails-0.10.5 lib/authpwn_rails/generators/templates/session/forbidden.html.erb
authpwn_rails-0.10.4 lib/authpwn_rails/generators/templates/session/forbidden.html.erb
authpwn_rails-0.10.3 lib/authpwn_rails/generators/templates/session/forbidden.html.erb
authpwn_rails-0.10.2 lib/authpwn_rails/generators/templates/session/forbidden.html.erb
authpwn_rails-0.10.1 lib/authpwn_rails/generators/templates/session/forbidden.html.erb
authpwn_rails-0.10.0 lib/authpwn_rails/generators/templates/session/forbidden.html.erb