Skip to content

Commit

Permalink
Regenerate v1 and v2 APIs using latest Swagger specifications
Browse files Browse the repository at this point in the history
Decrease minimum number of bad login attempts
  • Loading branch information
tsmithjc committed Oct 13, 2018
1 parent d550617 commit 6f4c976
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jcapiv1/jcapiv1/models/systemuserreturn.py
Original file line number Diff line number Diff line change
Expand Up @@ -962,8 +962,8 @@ def bad_login_attempts(self, bad_login_attempts):
:param bad_login_attempts: The bad_login_attempts of this Systemuserreturn. # noqa: E501
:type: int
"""
if bad_login_attempts is not None and bad_login_attempts < 1: # noqa: E501
raise ValueError("Invalid value for `bad_login_attempts`, must be a value greater than or equal to `1`") # noqa: E501
if bad_login_attempts is not None and bad_login_attempts < 0: # noqa: E501
raise ValueError("Invalid value for `bad_login_attempts`, must be a value greater than or equal to `0`") # noqa: E501

self._bad_login_attempts = bad_login_attempts

Expand Down

0 comments on commit 6f4c976

Please sign in to comment.