Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.mdns.eu/nextcloud/passwords-client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius David Wieschollek <passwords.public@mdns.eu>2021-01-17 00:40:00 +0300
committerMarius David Wieschollek <passwords.public@mdns.eu>2021-01-17 00:40:00 +0300
commit9304631ec5d6738d7899ce0493530969b21f9ffe (patch)
tree62a46be2441c535b3ca0e204b36f1942bb2ed9cc
parent2ca861596443192b46f6caefe33dad74fcc24009 (diff)
Fix invalid auth reset
Signed-off-by: Marius David Wieschollek <passwords.public@mdns.eu>
-rw-r--r--src/Model/Session/Session.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Model/Session/Session.js b/src/Model/Session/Session.js
index 5a02bac..1a2bcf4 100644
--- a/src/Model/Session/Session.js
+++ b/src/Model/Session/Session.js
@@ -20,8 +20,10 @@ export default class Session {
* @return {Session}
*/
setId(value) {
- this._id = value;
- this._authorized = false;
+ if(this._id !== value) {
+ this._authorized = false;
+ this._id = value;
+ }
return this;
}