diff options
author | Marin Jankovski <maxlazio@gmail.com> | 2014-10-02 16:38:26 +0400 |
---|---|---|
committer | Marin Jankovski <maxlazio@gmail.com> | 2014-10-02 16:38:26 +0400 |
commit | 30c447ed2f35a0d1f4eb0f6200aa9ab952c46768 (patch) | |
tree | 31171a866132c8899cdcf5e58f4fb7c11fddef45 /config | |
parent | 9f939c9697c735839072185a9792338f617a2a41 (diff) |
Try signing in the user after user confirmation is correct and redirect to dashboard, otherwise redirect to signin page
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index 00267b13161..2534153758b 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -170,7 +170,7 @@ Gitlab::Application.routes.draw do resources :projects, constraints: { id: /[^\/]+/ }, only: [:new, :create] - devise_for :users, controllers: { omniauth_callbacks: :omniauth_callbacks, registrations: :registrations , passwords: :passwords, sessions: :sessions } + devise_for :users, controllers: { omniauth_callbacks: :omniauth_callbacks, registrations: :registrations , passwords: :passwords, sessions: :sessions, confirmations: :confirmations } devise_scope :user do get "/users/auth/:provider/omniauth_error" => "omniauth_callbacks#omniauth_error", as: :omniauth_error |