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 ...@@ -83,8 +83,7 @@ person_mapping = (\n
\n \n
context.Credential_copyRegistredInformation(person, person_mapping,copy_none_value=False)\n context.Credential_copyRegistredInformation(person, person_mapping,copy_none_value=False)\n
\n \n
if context.getPassword():\n context.Credential_updatePersonPassword()\n
context.Credential_updatePersonPassword()\n
\n \n
#Update the photo\n #Update the photo\n
context.CredentialUpdate_copyDefaultImage()\n context.CredentialUpdate_copyDefaultImage()\n
......
401 402
\ No newline at end of file \ 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