mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 09:13:19 -04:00
Merge pull request #16595 from nextcloud/tech-debt/noid/no-need-to-document-the-obvious
Do not document the obvious
This commit is contained in:
commit
e341e6946b
1 changed files with 0 additions and 11 deletions
|
|
@ -83,11 +83,6 @@ class ChangePasswordController extends Controller {
|
|||
* @NoAdminRequired
|
||||
* @NoSubadminRequired
|
||||
* @BruteForceProtection(action=changePersonalPassword)
|
||||
*
|
||||
* @param string $oldpassword
|
||||
* @param string $newpassword
|
||||
*
|
||||
* @return JSONResponse
|
||||
*/
|
||||
public function changePersonalPassword(string $oldpassword = '', string $newpassword = null): JSONResponse {
|
||||
/** @var IUser $user */
|
||||
|
|
@ -132,12 +127,6 @@ class ChangePasswordController extends Controller {
|
|||
/**
|
||||
* @NoAdminRequired
|
||||
* @PasswordConfirmationRequired
|
||||
*
|
||||
* @param string $username
|
||||
* @param string $password
|
||||
* @param string $recoveryPassword
|
||||
*
|
||||
* @return JSONResponse
|
||||
*/
|
||||
public function changeUserPassword(string $username = null, string $password = null, string $recoveryPassword = null): JSONResponse {
|
||||
if ($username === null) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue