Commit d26486a8 authored by Ivan Tyagov's avatar Ivan Tyagov

In every case make sure an email is sent to user no matter if password

is set or will be set later (through a Credential Recovery).
parent 45dde632
...@@ -92,9 +92,8 @@ if password is not None:\n ...@@ -92,9 +92,8 @@ if password is not None:\n
if password.startswith(\'{SSHA}\'):\n if password.startswith(\'{SSHA}\'):\n
#password is encoded, set it to None to script witch send the password to user\n #password is encoded, set it to None to script witch send the password to user\n
password = None\n password = None\n
# Send notification in activities only if we already generated and set password\n # Send notification in activities\n
# else a Credential Recovery process will take care\n context.activate(activity=\'SQLQueue\').CredentialRequest_sendAcceptedNotification(login, password)\n
context.activate(activity=\'SQLQueue\').CredentialRequest_sendAcceptedNotification(login, password)\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
383 384
\ 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