Not writing passwords to user.
This commit is contained in:
parent
d0f11ce2cf
commit
98aeddf61b
|
@ -28,7 +28,6 @@ module Devise
|
||||||
if resource.blank?
|
if resource.blank?
|
||||||
resource = new
|
resource = new
|
||||||
resource[:username] = attributes['username']
|
resource[:username] = attributes['username']
|
||||||
resource[:password] = attributes['password']
|
|
||||||
end
|
end
|
||||||
|
|
||||||
if resource.try(:valid_kerberos_authentication?, attributes[:password])
|
if resource.try(:valid_kerberos_authentication?, attributes[:password])
|
||||||
|
|
Loading…
Reference in New Issue
Block a user