fix: app login page signup url

add debug logs
This commit is contained in:
Lakhan Samani
2022-06-05 21:44:16 +05:30
parent 5d2d1c342b
commit 7ac6252aac
3 changed files with 13 additions and 6 deletions

View File

@@ -42,6 +42,7 @@ func VerifyEmailHandler() gin.HandlerFunc {
// verify if token exists in db
hostname := parsers.GetHost(c)
log.Debug("hostname used for jwt verification: ", hostname)
claim, err := token.ParseJWTToken(tokenInQuery, hostname, verificationRequest.Nonce, verificationRequest.Email)
if err != nil {
log.Debug("Error parsing token: ", err)