mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 01:51:40 -05:00
Merge pull request #2043 from jimrandomh/dontSkipEmailVerification
When changing email address on an account, mark the new address as unverified
This commit is contained in:
commit
7c2cc30f2d
1 changed files with 1 additions and 0 deletions
|
@ -59,6 +59,7 @@
|
||||||
// if user.emails exists, change it too
|
// if user.emails exists, change it too
|
||||||
if (!!user.emails) {
|
if (!!user.emails) {
|
||||||
user.emails[0].address = newEmail;
|
user.emails[0].address = newEmail;
|
||||||
|
user.emails[0].verified = false;
|
||||||
modifier.$set.emails = user.emails;
|
modifier.$set.emails = user.emails;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue