Navigation Menu

Skip to content

Commit

Permalink
Removing some lame debugging that snuck out
Browse files Browse the repository at this point in the history
  • Loading branch information
adamhjk committed Jul 8, 2008
1 parent c0f432f commit d1eca73
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/authenticated_system.rb
Expand Up @@ -114,7 +114,6 @@ def login_from_session
# Called from #current_user. Now, attempt to login by basic authentication information. # Called from #current_user. Now, attempt to login by basic authentication information.
def login_from_basic_auth def login_from_basic_auth
username, passwd = get_auth_data username, passwd = get_auth_data
logger.info("I have #{username} and passwd #{passwd}")
if username =~ UUIDREGEX if username =~ UUIDREGEX
self.current_user = Node.authenticate(username, passwd) if username && passwd self.current_user = Node.authenticate(username, passwd) if username && passwd
else else
Expand All @@ -123,7 +122,6 @@ def login_from_basic_auth
self.current_user = dbuser self.current_user = dbuser
else else
ldapuser = LDAPUser.authenticate(username, passwd) if username && passwd ldapuser = LDAPUser.authenticate(username, passwd) if username && passwd
logger.info("I have #{username} #{passwd} #{ldapuser.to_yaml}")
self.current_user = ldapuser self.current_user = ldapuser
end end
end end
Expand Down

0 comments on commit d1eca73

Please sign in to comment.