Skip to content

Commit 5467d41

Browse files
Merge pull request #61501 from nextcloud/bugfix/noid/remove-accidental-password-confirmation
fix(onetime-qrcode): Remove password confirmation attribute
2 parents 6cb5115 + 2e8a714 commit 5467d41

4 files changed

Lines changed: 0 additions & 4 deletions

File tree

core/Controller/AppPasswordController.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,6 @@ public function confirmUserPassword(string $password): DataResponse {
205205
* 200: App password returned
206206
*/
207207
#[NoAdminRequired]
208-
#[PasswordConfirmationRequired]
209208
#[ApiRoute(verb: 'GET', url: '/getapppassword-onetime', root: '/core')]
210209
public function getAppPasswordWithOneTimePassword(): DataResponse {
211210
// Only allow with one-time app passwords

core/openapi-full.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1765,7 +1765,6 @@
17651765
"get": {
17661766
"operationId": "app_password-get-app-password-with-one-time-password",
17671767
"summary": "Get app password with one-time password",
1768-
"description": "This endpoint requires password confirmation",
17691768
"tags": [
17701769
"app_password"
17711770
],

core/openapi.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1765,7 +1765,6 @@
17651765
"get": {
17661766
"operationId": "app_password-get-app-password-with-one-time-password",
17671767
"summary": "Get app password with one-time password",
1768-
"description": "This endpoint requires password confirmation",
17691768
"tags": [
17701769
"app_password"
17711770
],

openapi.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5427,7 +5427,6 @@
54275427
"get": {
54285428
"operationId": "core-app_password-get-app-password-with-one-time-password",
54295429
"summary": "Get app password with one-time password",
5430-
"description": "This endpoint requires password confirmation",
54315430
"tags": [
54325431
"core/app_password"
54335432
],

0 commit comments

Comments
 (0)