fix: bad verify url, remove email query var
This commit is contained in:
parent
d40a954b67
commit
4c2baf164f
|
@ -147,7 +147,7 @@ func (s AccountServiceDefault) SendEmailVerification(userId uint) error {
|
|||
return NewAccountError(ErrKeyDatabaseOperationFailed, err)
|
||||
}
|
||||
|
||||
verifyUrl := fmt.Sprintf("%s://%s/account/verify?email=%s&token=%s", fmt.Sprintf("https://%s.%s", ACCOUNT_SUBDOMAIN, s.config.Config().Core.Domain), user.Email, token)
|
||||
verifyUrl := fmt.Sprintf("%s/account/verify?token=%s", fmt.Sprintf("https://%s.%s", ACCOUNT_SUBDOMAIN, s.config.Config().Core.Domain), token)
|
||||
|
||||
vars := map[string]interface{}{
|
||||
"FirstName": user.FirstName,
|
||||
|
|
Loading…
Reference in New Issue