diff --git a/config/initializers/devise.rb b/config/initializers/devise.rb index 367a4b4..5edc7a3 100644 --- a/config/initializers/devise.rb +++ b/config/initializers/devise.rb @@ -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