Skip to content
Permalink
Browse files

Use correct method

  • Loading branch information
flack committed Nov 20, 2019
1 parent ac64539 commit 9020f47cc575360645f05b52f808dde4905d9631
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/org/openpsa/user/accounthelper.php
@@ -439,7 +439,7 @@ public function reopen_account()
{
$account = new midcom_core_account($this->person);
if ($account->get_password()) {
$this->person->set_parameter('org_openpsa_user_blocked_account', 'account_password', "");
$this->person->delete_parameter('org_openpsa_user_blocked_account', 'account_password');
$msg = 'Account for person #' . $this->person->id . ' does have a password already';
throw new midcom_error($msg);
}

0 comments on commit 9020f47

Please sign in to comment.
You can’t perform that action at this time.