Work on user password updates
This commit is contained in:
@@ -148,6 +148,7 @@ def update_person_kiss(
|
||||
contact_id: int|None = None,
|
||||
organization_id: int|None = None,
|
||||
user_id: int|None = None,
|
||||
set_default_password: bool = True,
|
||||
log_lvl: int = logging.DEBUG, # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
|
||||
) -> bool:
|
||||
log.setLevel(log_lvl)
|
||||
@@ -235,6 +236,7 @@ def update_person_kiss(
|
||||
user_id = user_id,
|
||||
user_dict_obj = person_obj.user,
|
||||
person_id = person_id,
|
||||
set_default_password = False,
|
||||
): pass # NOTE: There is a trigger that will update the person record with the new user ID.
|
||||
else: return False
|
||||
elif person_obj.user:
|
||||
|
||||
Reference in New Issue
Block a user