complete password reset
This commit is contained in:
@@ -80,6 +80,10 @@ func (s *userService) UpdateLogin(user entity.User) error {
|
||||
return s.svc.db.Users().UpdateLogin(user)
|
||||
}
|
||||
|
||||
func (s *userService) UpdateLoginPassword(user entity.User) error {
|
||||
return s.svc.db.Users().UpdateLoginPassword(user)
|
||||
}
|
||||
|
||||
// GetUsersByProfile returns a list of users by profile
|
||||
func (s *userService) GetUsersByProfile(profile string) ([]entity.User, error) {
|
||||
return s.svc.db.Users().GetUsersByProfile(profile)
|
||||
|
||||
Reference in New Issue
Block a user