final tweak for the http case

the only scenario in our final else that
would have a realm in the credential is the
http case in which case we want the realm to be there
still. otherwise the credential in this case has no
realm anyways so there is no need to strip one off
bug/bundler_fix
David Maloney 2014-07-10 12:39:01 -05:00
parent 7dc58d060e
commit 818bd1946d
No known key found for this signature in database
GPG Key ID: DEDBA9DC3A913DB2
1 changed files with 0 additions and 3 deletions

View File

@ -104,9 +104,6 @@ module Metasploit
second_cred.realm_key = nil
yield second_cred
else
# Strip any realm off here, as we don't want it
credential.realm = nil
credential.realm_key = nil
yield credential
end
end