cburschka / cadence

A strophe.js-powered XMPP web client for chatrooms.
6 stars 2 forks source link

Reuse user/password, at least for the rest of the session. #383

Closed cburschka closed 8 years ago

cburschka commented 8 years ago

Now that #351 provides a nice button for connecting and disconnecting, it would be nice if doing so didn't require the credentials to be reentered each time, since they're still stored anyway.

This patch would make /connect attempt to use the last (actual) credentials entered, before attempting a passwordless login.

Obviously, if the last login was passwordless, then the password was a temporary session token and cannot be reused.