From 308b11a5b7aca22a35fc9c4b06593be0fca5d6cc Mon Sep 17 00:00:00 2001 From: Marin Jankovski Date: Tue, 24 Jun 2014 14:19:40 +0200 Subject: Error page. --- app/views/errors/omniauth_error.html.haml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 app/views/errors/omniauth_error.html.haml (limited to 'app/views/errors') 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. -- cgit v1.2.3