From 98aeddf61bc785d7fa2b1cec85fa97788bec5116 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Stu=CC=88ckemann?= Date: Fri, 31 Jan 2014 11:32:26 +0000 Subject: [PATCH] Not writing passwords to user. --- lib/devise_kerberos_authenticatable/model.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/devise_kerberos_authenticatable/model.rb b/lib/devise_kerberos_authenticatable/model.rb index 91194d7..539c172 100644 --- a/lib/devise_kerberos_authenticatable/model.rb +++ b/lib/devise_kerberos_authenticatable/model.rb @@ -28,7 +28,6 @@ module Devise if resource.blank? resource = new resource[:username] = attributes['username'] - resource[:password] = attributes['password'] end if resource.try(:valid_kerberos_authentication?, attributes[:password])