Mercurial > libervia-web
diff src/browser/sat_browser/register.py @ 796:fad9c9f82ae3
browser and server sides: alert the user after he created a new profile using his XMPP account credentials
author | souliane <souliane@mailoo.org> |
---|---|
date | Tue, 08 Dec 2015 18:11:19 +0100 |
parents | a6b39838353f |
children | 3c5b17a3d86e |
line wrap: on
line diff
--- a/src/browser/sat_browser/register.py Tue Dec 08 15:11:02 2015 +0100 +++ b/src/browser/sat_browser/register.py Tue Dec 08 18:11:19 2015 +0100 @@ -210,6 +210,9 @@ elif result == C.XMPP_AUTH_ERROR: # TODO: call stdui action CHANGE_XMPP_PASSWD_ID as it's done in primitivus Window.alert(_(u'Your SàT profile has been authenticated but the associated XMPP account failed to connect. Please use another SàT frontend to set another XMPP password.')) + elif result == C.PROFILE_LOGGED_REGISTERED_WITH_EXT_JID: + Window.alert(_('A profile has been created on this Libervia service using your existing XMPP account. Since you are not using our XMPP server, we can not guaranty that all the extra features (blog, directory...) will fully work.')) + self.callback() elif result == C.PROFILE_LOGGED: self.callback() elif result == C.SESSION_ACTIVE: