annotate .hgchurn @ 4415:8dde014af77b

session: Remove potential infinite loop of logging out. When a user is logged in while the session is not available on the server side, and the user wants to log out, the logout request is started. When the server refuses to log the user out without a valid token and answers (correctly) with HTTP 401, the app calls the logout per default, which might end in an infinite loop. The logout procedure tests whether the users has a token stored. If so, the logout is called and the token is removed. In case the logout was answered with a HTTP 401 the cycle begins anew, but this time without token the user is treated as effective being logged out.
author Thomas Junk <thomas.junk@intevation.de>
date Wed, 18 Sep 2019 11:32:29 +0200
parents 451c7d3fe6be
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1246
b41494821b02 Add .hgchurn to ease commit stats
Bernhard Reiter <bernhard@intevation.de>
parents:
diff changeset
1 teichmann@intevation.de = sascha.teichmann@intevation.de
1686
451c7d3fe6be Added bernhard.reiter@intevation.de to churn aliases.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 1246
diff changeset
2 bernhard.reiter@intevation.de = bernhard@intevation.de