Guard oauth_user_token
This commit is contained in:
parent
52177a48f1
commit
33f514f15b
1 changed files with 5 additions and 0 deletions
|
|
@ -73,6 +73,11 @@ class UpdateUserRequest extends Request
|
||||||
$input['oauth_user_id'] = '';
|
$input['oauth_user_id'] = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (array_key_exists('oauth_user_token', $input) && $input['oauth_user_token'] == '***') {
|
||||||
|
unset($input['oauth_user_token']);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
$this->replace($input);
|
$this->replace($input);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue