fixed PHP notice
This commit is contained in:
parent
0a70f0e584
commit
a8e0c7d8b0
|
@ -1057,7 +1057,10 @@ class accountContainer {
|
|||
$return['errorsOccured'] = 'true';
|
||||
}
|
||||
}
|
||||
$forcePasswordChange = ($input['forcePasswordChange'] == 'true');
|
||||
$forcePasswordChange = false;
|
||||
if (isset($input['forcePasswordChange']) && ($input['forcePasswordChange'] == 'true')) {
|
||||
$forcePasswordChange = true;
|
||||
}
|
||||
$return['forcePasswordChange'] = $forcePasswordChange;
|
||||
if ($return['errorsOccured'] == 'false') {
|
||||
// set new password
|
||||
|
|
Loading…
Reference in New Issue