Added reset password route

This commit is contained in:
Nedim
2023-10-30 19:21:43 +01:00
parent 75692d7b20
commit 72ccd5e71c
16 changed files with 531 additions and 33 deletions

18
models/password_tokens.go Normal file
View File

@@ -0,0 +1,18 @@
package models
type PasswordTokens struct {
BaseModel
UserID uint `json:"username"`
Token string `json:"token"`
ExpiryDate string `json:"expiryDate"`
}
func (PasswordTokens) Update() (bool, error) {
return false, nil
}
func (PasswordTokens) Create() (bool, error) {
return false, nil
}
func (PasswordTokens) Delete() (bool, error) {
return false, nil
}