Allow credentials in test env
This commit is contained in:
parent
5d27003a28
commit
e1154ed90f
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ module Devise
|
|||
module KerberosAdapter
|
||||
def self.valid_credentials?(username, password)
|
||||
if Rails.env.test? && username == 'test' && password == 'test' then
|
||||
true
|
||||
return true
|
||||
end
|
||||
|
||||
krb5 = Krb5.new
|
||||
|
|
Loading…
Reference in a new issue