From d3f32a89aa3ad8803b7e81e489676cdb2914a0d4 Mon Sep 17 00:00:00 2001 From: benji Date: Fri, 18 Sep 2015 14:21:13 +0200 Subject: [PATCH] change uid to name in devise initializers --- config/initializers/devise.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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