Add resolver to resend verify email link

Resolves #20
This commit is contained in:
Lakhan Samani
2021-07-18 12:56:17 +05:30
parent e2fc610762
commit 2840a085ca
8 changed files with 193 additions and 11 deletions

View File

@@ -22,6 +22,7 @@ type Manager interface {
GetVerificationByToken(token string) (VerificationRequest, error)
DeleteToken(email string) error
GetVerificationRequests() ([]VerificationRequest, error)
GetVerificationByEmail(email string) (VerificationRequest, error)
}
type manager struct {