Guard oauth_user_token

This commit is contained in:
David Bomba 2023-03-09 20:51:10 +11:00
parent 52177a48f1
commit 33f514f15b

View File

@ -73,6 +73,11 @@ class UpdateUserRequest extends Request
$input['oauth_user_id'] = '';
}
if (array_key_exists('oauth_user_token', $input) && $input['oauth_user_token'] == '***') {
unset($input['oauth_user_token']);
}
$this->replace($input);
}
}