func (s *IdentityService) GetPasswordHash(user string) ([]byte, error) {
	hash, err := s.backend.GetVal([]string{"web", "users", user}, "pwd")
	if err != nil {
		if trace.IsNotFound(err) {
			return nil, trace.NotFound("user '%v' is not found", user)
		}
		return nil, trace.Wrap(err)
	}
	return hash, nil
}
// GetPasswordHash returns the password hash for a given user
GetPasswordHash returns the password hash for a given user
// GetPasswordHash returns the password hash for a given user
func (s *IdentityService) GetPasswordHash(user string) ([]byte, error) {
	hash, err := s.backend.GetVal([]string{"web", "users", user}, "pwd")
	if err != nil {
		if trace.IsNotFound(err) {
			return nil, trace.NotFound("user '%v' is not found", user)
		}
		return nil, trace.Wrap(err)
	}
	return hash, nil
}
func ( s * IdentityService ) GetPasswordHash ( user string ) ( [ ] byte , error ) { hash , err := s . backend . GetVal ( [ ] string { " " , " " , user } , " " ) if err != nil { if trace . IsNotFound ( err ) { return nil , trace . NotFound ( " " , user ) } return nil , trace . Wrap ( err ) } return hash , nil }
GetPasswordHash returns the password hash for a given user
GetPasswordHash returns the password hash for a given user