1
0
Fork 0

Allow credentials in test env

This commit is contained in:
Paul Rowe-White 2014-01-26 14:29:38 +00:00
parent 5d27003a28
commit e1154ed90f

View file

@ -5,7 +5,7 @@ module Devise
module KerberosAdapter module KerberosAdapter
def self.valid_credentials?(username, password) def self.valid_credentials?(username, password)
if Rails.env.test? && username == 'test' && password == 'test' then if Rails.env.test? && username == 'test' && password == 'test' then
true return true
end end
krb5 = Krb5.new krb5 = Krb5.new