Cleanup storage code
This allows us to use either session or local storage, for issue #120.
This commit is contained in:
parent
af04dd39f7
commit
0ac3cefb03
9 changed files with 144 additions and 89 deletions
|
|
@ -120,7 +120,7 @@ export default {
|
|||
user.normalize();
|
||||
|
||||
this.loading = true;
|
||||
this.$store.dispatch("auth/login", user).then(
|
||||
this.$store.dispatch("login", user).then(
|
||||
() => {
|
||||
if (this.$matrix.currentRoomId) {
|
||||
this.$navigation.push({name: "Chat", params: { roomId: util.sanitizeRoomId(this.$matrix.currentRoomId) }}, -1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue