fix: verify email

This commit is contained in:
Lakhan Samani 2022-03-08 22:55:45 +05:30
parent 5d73df0040
commit ee7aea7bee

View File

@ -95,7 +95,7 @@ func VerifyEmailHandler() gin.HandlerFunc {
} }
if redirectURL == "" { if redirectURL == "" {
redirectURL = claim["redirect_url"].(string) redirectURL = claim["redirect_uri"].(string)
} }
if strings.Contains(redirectURL, "?") { if strings.Contains(redirectURL, "?") {