debugging info auth.php

Jonathan Daugherty cygnus at janrain.com
Mon Apr 9 15:13:19 PDT 2007


# I disagree with that... if their is a database error the user will
# get this whole dump on screen. This is not in a rare
# occassion. Because their is no check in place if the username
# already exists in the database, a user could trigger a duplicate key
# error.

I was actually partially kidding, before.  And you're right, it will
print a nasty PEAR error object in the case of a duplicate account
violation.  The line was left in as debugging output, but I overlooked
the duplicate-account case.  I've patched the trunk source, so it'll
be out in the next release.

-- 
  Jonathan Daugherty
  JanRain, Inc.
  irc.freenode.net: cygnus in #openid
  cygnus.myopenid.com



More information about the Dev mailing list