mirror of
https://github.com/filegator/filegator.git
synced 2025-08-07 16:26:33 +02:00
reset cwd after login
This commit is contained in:
@@ -58,7 +58,9 @@ export default {
|
||||
})
|
||||
.then(user => {
|
||||
this.$store.commit('setUser', user)
|
||||
this.$router.push('/')
|
||||
api.changeDir({
|
||||
to: '/'
|
||||
}).then(() => this.$router.push('/'))
|
||||
})
|
||||
.catch(error => {
|
||||
if (error.response && error.response.data) {
|
||||
|
Reference in New Issue
Block a user