change uid to name in devise initializers

This commit is contained in:
benji 2015-09-18 14:21:13 +02:00
parent 76f8332e97
commit d3f32a89aa

View file

@ -30,7 +30,7 @@ Devise.setup do |config|
# session. If you need permissions, you should implement that in a before filter.
# You can also supply a hash where the value is a boolean determining whether
# or not authentication should be aborted when the value is not present.
config.authentication_keys = [ :uid ]
config.authentication_keys = [ :name ]
# Configure parameters from the request object used for authentication. Each entry
# given should be a request method and it will automatically be passed to the