mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Guard oauth_user_token
This commit is contained in:
parent
52177a48f1
commit
33f514f15b
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user