diff options
author | Marin Jankovski <marin@gitlab.com> | 2014-03-18 12:25:49 +0100 |
---|---|---|
committer | Marin Jankovski <marin@gitlab.com> | 2014-03-18 12:25:49 +0100 |
commit | a740e2d6d16271c2e3d06252e35e65b10d002834 (patch) | |
tree | f60f9ca5d58516012ce8d417de19daf1a38a1132 /config | |
parent | 8fa53ce43dff48a3e282460c9f9f40dbdfee6e12 (diff) | |
download | gitlab-ce-a740e2d6d16271c2e3d06252e35e65b10d002834.tar.gz |
Do not allow password reset for ldap user.
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 628d1f631bc..709b66d3e06 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -167,7 +167,7 @@ Gitlab::Application.routes.draw do resources :projects, constraints: { id: /[^\/]+/ }, only: [:new, :create] - devise_for :users, controllers: { omniauth_callbacks: :omniauth_callbacks, registrations: :registrations } + devise_for :users, controllers: { omniauth_callbacks: :omniauth_callbacks, registrations: :registrations , passwords: :passwords} # # Project Area |