forked from AkkomaGang/akkoma-fe
Compare commits
5 commits
Author | SHA1 | Date | |
---|---|---|---|
4a50b1273d | |||
c76dc6d79e | |||
cb4c581cde | |||
|
8231c8f0b6 | ||
1ae09458c6 |
2 changed files with 2 additions and 1 deletions
|
@ -18,6 +18,7 @@
|
|||
<input
|
||||
id="code"
|
||||
v-model="code"
|
||||
autocomplete="one-time-code"
|
||||
class="form-control"
|
||||
>
|
||||
</div>
|
||||
|
|
|
@ -69,7 +69,7 @@ const SettingsModal = {
|
|||
this.$store.dispatch('closeSettingsModal')
|
||||
},
|
||||
logout () {
|
||||
this.$router.replace('/main/public')
|
||||
this.$router.replace(this.$store.state.instance.redirectRootNoLogin || '/main/all')
|
||||
this.$store.dispatch('closeSettingsModal')
|
||||
this.$store.dispatch('logout')
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue