add forget password
This commit is contained in:
+16
-14
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user