[Psi-devel] [PATCH] Password dialog - patch update against svn
Hal Rottenberg
halr9000 at gmail.com
Sat Mar 3 15:00:10 PST 2007
Cool patch, thanks. :)
On 3/3/07, Richard Houser <rick at divinesymphony.net> wrote:
> 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.
>
> _______________________________________________
> psi-devel mailing list
> psi-devel at lists.affinix.com
> http://lists.affinix.com/listinfo.cgi/psi-devel-affinix.com
>
>
>
--
Psi webmaster (http://psi-im.org)
im:hal at jabber.rocks.cc
http://halr9000.com
More information about the psi-devel
mailing list