401.html 769 B

1234567891011121314151617181920212223242526
  1. <!DOCTYPE html>
  2. <html class="dark">
  3. <meta charset="utf-8">
  4. <title>401: Unauthorized</title>
  5. <link rel="stylesheet" href="/assets/error/style.css">
  6. <body <% if @traceback %>class="error-message"<% end %>>
  7. <h1>401: Unauthorized</h1>
  8. <% if @message.present? %>
  9. <div><%= @message %></div>
  10. <% end %>
  11. <% if !@traceback %>
  12. <div class="error-image" style="background-image: url(/assets/error/error-1.svg)"></div>
  13. <p>Sorry, but your authentication failed. Double check your credentials and try again.</p>
  14. <% else %>
  15. <% if @exception.message != @message %>
  16. <div><%= @exception.message %></div>
  17. <% end %>
  18. <% if @exception.backtrace %>
  19. <pre><code>
  20. <% @exception.backtrace.each {|row| %>
  21. <%= row %>
  22. <% } %></code></pre>
  23. <% end %>
  24. <% end %>
  25. </body>
  26. </html>