[Psi-devel] [PATCH] Password dialog - patch update against svn
Richard Houser
rick at divinesymphony.net
Sat Mar 3 14:26:43 PST 2007
Back in March of 2006, I submitted a couple patches through darcs.
Neither of these ever made it into the repository, but one was just to
change Psi's behavior when trying to connect with a bad password. An
error was just displayed, so the user needed to get into the account
dialog to change any stored password. This wasn't obvious to some users
and is a huge pain when dealing with centralized passwords (LDAP for
example).
I added a checkbox to the password dialog and changed the code to trap
the authentication failure and display the password dialog again.
This is just an update of that patch, based on the current subversion
branch.
Everything works for me, but there is one thing that changed since then
that I'm not sure of.
Authentication failures used to show up matching
XMPP::ClientStream::NotAuthorized, but after updating to svn branch from
my darcs branch (from somewhere around April), bad passwords instead
return XMPP::ClientStream::TemporaryAuthFailure. I just treat this
additional failure the same as NotAuthorized.
I don't know if there are now additional cases that might return the
same status code, but should not prompt the user to retry the password.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: psi-password-prompt-update.patch
Type: text/x-patch
Size: 5962 bytes
Desc: not available
Url : http://lists.affinix.com/pipermail/psi-devel-affinix.com/attachments/20070303/34645602/attachment.bin
More information about the psi-devel
mailing list