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
|
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
|
||||||
|
|
Loading…
Reference in a new issue