diff options
author | Marin Jankovski <marin@gitlab.com> | 2014-06-24 16:19:40 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-06-24 16:30:29 +0400 |
commit | 308b11a5b7aca22a35fc9c4b06593be0fca5d6cc (patch) | |
tree | cbb969f1e95cd3ea8be602553fe845b09ed23c24 | |
parent | 49c9e8ec02e5219cf984da61de52352ec5775c98 (diff) |
Error page.
-rw-r--r-- | app/views/errors/omniauth_error.html.haml | 12 |
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. |