クラス関数削除
This commit is contained in:
parent
7a65e2b46e
commit
fa3100b830
@ -39,6 +39,3 @@ class UserMasterModel(BaseDBModel):
|
||||
|
||||
def is_login_failed_limit_exceeded(self):
|
||||
return self.mntuser_login_failed_cnt >= constants.LOGIN_FAIL_LIMIT
|
||||
|
||||
def is_on_login_failed_limit(self):
|
||||
return self.mntuser_login_failed_cnt == constants.LOGIN_FAIL_LIMIT - 1
|
||||
Loading…
x
Reference in New Issue
Block a user