Fix bug: User cannot connect using the orbit button (Devise configuration)

This commit is contained in:
chris committed 2012-10-26 17:42:14 +08:00
1 parent 2c5539eda9
commit 9b5f4e4775
6 files changed
+5 -34

No files matched your search

+1 -1
View File
@@ -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.