mirror of
https://github.com/kakwa/ldapcherry
synced 2024-11-25 18:54:29 +01:00
adding exception regarding password checks
* exception for ppolicy match * exception for password fields don't match
This commit is contained in:
parent
a83cae5428
commit
abb651daa1
@ -77,6 +77,16 @@ class MissingRolesFile(Exception):
|
||||
{'rolefile': rolefile}
|
||||
|
||||
|
||||
class PasswordMissMatch(Exception):
|
||||
def __init__(self):
|
||||
self.log = "password missmatch"
|
||||
|
||||
|
||||
class PPolicyError(Exception):
|
||||
def __init__(self):
|
||||
self.log = "password doesn't match ppolicy"
|
||||
|
||||
|
||||
class MissingMainFile(Exception):
|
||||
def __init__(self, config):
|
||||
self.rolefile = rolefile
|
||||
|
Loading…
Reference in New Issue
Block a user