summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorMarin Jankovski <marin@gitlab.com>2014-06-24 14:19:40 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-06-24 15:30:29 +0300
commit308b11a5b7aca22a35fc9c4b06593be0fca5d6cc (patch)
treecbb969f1e95cd3ea8be602553fe845b09ed23c24 /app
parent49c9e8ec02e5219cf984da61de52352ec5775c98 (diff)
downloadgitlab-ce-308b11a5b7aca22a35fc9c4b06593be0fca5d6cc.tar.gz
Error page.
Diffstat (limited to 'app')
-rw-r--r--app/views/errors/omniauth_error.html.haml12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/views/errors/omniauth_error.html.haml b/app/views/errors/omniauth_error.html.haml
new file mode 100644
index 00000000000..e1eaa5a9d06
--- /dev/null
+++ b/app/views/errors/omniauth_error.html.haml
@@ -0,0 +1,12 @@
+%h1.http_status_code 422
+%h3.page-title Sign-in using #{@provider} auth failed
+%hr
+%p Sign-in failed because #{@error}.
+%p There are couple of steps you can take:
+1. Try logging in using your email
+%br
+2. Try logging in using your username
+%br
+3. If you have forgotten your password, try recovering it using #{ link_to "Password recovery", new_password_path(resource_name) }
+%br
+%p If none of the options work, try contacting the GitLab administrator.