func (s *IdentityService) ResetLoginAttempts(user string) error {
	err := s.backend.DeleteKey([]string{"web", "users", user}, "lock")
	if trace.IsNotFound(err) {
		return nil
	}
	return trace.Wrap(err)
}
// ResetLoginAttempts resets the "login attempt" counter to zero.
ResetLoginAttempts resets the "login attempt" counter to zero.
// ResetLoginAttempts resets the " login attempt " counter to zero .
func (s *IdentityService) ResetLoginAttempts(user string) error {
	err := s.backend.DeleteKey([]string{"web", "users", user}, "lock")
	if trace.IsNotFound(err) {
		return nil
	}
	return trace.Wrap(err)
}
func ( s * IdentityService ) ResetLoginAttempts ( user string ) error { err := s . backend . DeleteKey ( [ ] string { " " , " " , user } , " " ) if trace . IsNotFound ( err ) { return nil } return trace . Wrap ( err ) }
ResetLoginAttempts resets the "login attempt" counter to zero.
ResetLoginAttempts resets the " login attempt " counter to zero .