Commit f1bc8fdc authored by Łukasz Nowak's avatar Łukasz Nowak

Avoid accessing protected methods.

Credential_updatePersonPassword is doing the same check, and it is proxied
script.

CredentialUpdate_updatePersonInformation is not proxied script, and accessing
getPassword requires a lot of privileges.
parent f8ac430a
......@@ -83,8 +83,7 @@ person_mapping = (\n
\n
context.Credential_copyRegistredInformation(person, person_mapping,copy_none_value=False)\n
\n
if context.getPassword():\n
context.Credential_updatePersonPassword()\n
context.Credential_updatePersonPassword()\n
\n
#Update the photo\n
context.CredentialUpdate_copyDefaultImage()\n
......
401
\ No newline at end of file
402
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment