* Fixed disappearing form bug by forcing a refresh after submission * Added reloadPage() to the changeEmail submit button * Added indentation for the reloadPage() function * Adjusted changeUser() function (added reloadPage) Added reloadPage() function to the changeUser() function. This should allow the page to reload after the email is updated instead of before the function gets to finish updating the account's email * Adjusted changeUser() function Added window.location.reload() to the changeUser() function. This should allow the page to reload after the email is updated instead of before the function gets to finish updating the account's email * Adjusted changeUser function
This commit is contained in:
committed by
Matteo Pagliazzi
parent
b9af3fb40e
commit
7d2c5ed339
@@ -812,7 +812,8 @@ export default {
|
||||
this.localAuth.username = this.user.auth.local.username;
|
||||
this.user.flags.verifiedUsername = true;
|
||||
} else if (attribute === 'email') {
|
||||
this.user.auth.local.email = updates[attribute];
|
||||
this.user.auth.local.email = updates.newEmail;
|
||||
window.alert(this.$t('emailSuccess'));
|
||||
}
|
||||
},
|
||||
async changeDisplayName (newName) {
|
||||
|
||||
Reference in New Issue
Block a user