Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarin Jankovski <marin@gitlab.com>2014-06-24 16:19:40 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-06-24 16:30:29 +0400
commit308b11a5b7aca22a35fc9c4b06593be0fca5d6cc (patch)
treecbb969f1e95cd3ea8be602553fe845b09ed23c24 /app/views/errors
parent49c9e8ec02e5219cf984da61de52352ec5775c98 (diff)
Error page.
Diffstat (limited to 'app/views/errors')
-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.