add forget password

This commit is contained in:
aditya.siregar
2024-07-23 01:36:25 +07:00
parent 7ea809cc09
commit 5a0dec6128
22 changed files with 907 additions and 76 deletions
+16 -14
View File
@@ -10,20 +10,21 @@ import (
)
type User struct {
ID int64
Name string
Email string
Password string
Status userstatus.UserStatus
NIK string
CreatedAt time.Time
UpdatedAt time.Time
RoleID role.Role
RoleName string
PartnerID *int64
SiteID *int64
SiteName string
PartnerName string
ID int64
Name string
Email string
Password string
Status userstatus.UserStatus
NIK string
CreatedAt time.Time
UpdatedAt time.Time
RoleID role.Role
RoleName string
PartnerID *int64
SiteID *int64
SiteName string
PartnerName string
ResetPassword bool
}
type AuthenticateUser struct {
@@ -36,6 +37,7 @@ type AuthenticateUser struct {
PartnerStatus string
SiteID *int64
SiteName string
ResetPassword bool
}
type UserRoleDB struct {