Fix bug: User cannot connect using the orbit button (Devise configuration)
This commit is contained in:
1 parent
2c5539eda9
commit
9b5f4e4775
6 files changed
+5
-34
No files matched your search
@@ -21,7 +21,7 @@ Devise.setup do |config|
|
||||
# parameters are used only when authenticating and not when retrieving from
|
||||
# session. If you need permissions, you should implement that in a before filter.
|
||||
# config.authentication_keys = [ :email ]
|
||||
config.authentication_keys = [ :nccu_ldap_uid ]
|
||||
config.authentication_keys = [ :email ]
|
||||
|
||||
|
||||
# Tell if authentication through request.params is enabled. True by default.
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
Orbit::Application.routes.draw do
|
||||
|
||||
devise_for :users,:controllers => {:sessions => 'sessions'}
|
||||
devise_for :users
|
||||
mount Resque::Server, :at => "/admin/resque"
|
||||
|
||||
# routes for sinatra app
|
||||
|
||||
Reference in new issue
Block a user