mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Don't redirect if email change was not successful
This commit is contained in:
parent
9808e1c4f8
commit
89cc6da5f1
@ -30,9 +30,11 @@ export default {
|
||||
},
|
||||
},
|
||||
created() {
|
||||
setTimeout(() => {
|
||||
this.$router.replace({ name: 'settings-my-email-address' })
|
||||
}, 3000)
|
||||
if (this.success) {
|
||||
setTimeout(() => {
|
||||
this.$router.replace({ name: 'settings-my-email-address' })
|
||||
}, 3000)
|
||||
}
|
||||
},
|
||||
async asyncData(context) {
|
||||
const {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user