mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-24 06:23:31 -06:00
[bugfix] Fix admin account confirm on pre-confirmed account setting email address to empty string (#1203)
This commit is contained in:
parent
34716d7d7d
commit
281f712477
2 changed files with 2 additions and 4 deletions
|
|
@ -174,7 +174,6 @@ func (a *adminDB) NewSignup(ctx context.Context, username string, reason string,
|
|||
if emailVerified {
|
||||
u.ConfirmedAt = time.Now()
|
||||
u.Email = email
|
||||
u.UnconfirmedEmail = ""
|
||||
}
|
||||
|
||||
if admin {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue