2016-06-30 08:24:03 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html class="dark">
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<title>401: Unauthorized</title>
|
|
|
|
<link rel="stylesheet" href="/assets/error/style.css">
|
|
|
|
<body <% if @traceback %>class="error-message"<% end %>>
|
|
|
|
<h1>401: Unauthorized</h1>
|
2018-07-17 08:35:51 +00:00
|
|
|
<% if @message.present? %>
|
|
|
|
<div><%= @message %></div>
|
|
|
|
<% end %>
|
2016-06-30 08:24:03 +00:00
|
|
|
<% if !@traceback %>
|
|
|
|
<div class="error-image" style="background-image: url(/assets/error/error-1.svg)"></div>
|
|
|
|
<p>Sorry, but you're not allowed to access this page. If you're registered please log in and refresh this page.</p>
|
|
|
|
<% else %>
|
|
|
|
<div><%= @exception.message %></div>
|
|
|
|
<% if @exception.backtrace %>
|
2017-10-05 15:16:16 +00:00
|
|
|
<pre><code>
|
|
|
|
<% @exception.backtrace.each {|row| %>
|
|
|
|
<%= row %>
|
|
|
|
<% } %></code></pre>
|
2016-06-30 08:24:03 +00:00
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
</body>
|
|
|
|
</html>
|