complete password reset

This commit is contained in:
GotPPay
2018-06-01 18:53:06 +02:00
parent b683e813fe
commit 2fc6619383
5 changed files with 35 additions and 9 deletions

View File

@@ -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)