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:
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.