Using urlsigner package

This commit is contained in:
2024-08-21 11:44:38 +02:00
parent 7a7a823715
commit 7db64eff6a
2 changed files with 24 additions and 2 deletions

View File

@ -32,6 +32,7 @@ func (s *Signer) VerifyToken(token string) bool {
_, err := crypt.Unsign([]byte(token))
if err != nil {
fmt.Println(err)
return false
}
return true
}