summaryrefslogtreecommitdiffstats
path: root/app/views/doorkeeper/authorizations/error.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/doorkeeper/authorizations/error.html.erb')
-rw-r--r--app/views/doorkeeper/authorizations/error.html.erb6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/doorkeeper/authorizations/error.html.erb b/app/views/doorkeeper/authorizations/error.html.erb
new file mode 100644
index 000000000..59cedf8f3
--- /dev/null
+++ b/app/views/doorkeeper/authorizations/error.html.erb
@@ -0,0 +1,6 @@
+<h2><%= t('doorkeeper.authorizations.error.title') %></h2>
+
+<p id="errorExplanation"><%= @pre_auth.error_response.body[:error_description] %></p>
+<p><a href="javascript:history.back()"><%= l(:button_back) %></a></p>
+
+<% html_title t('doorkeeper.authorizations.error.title') %>