mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
fix: add PasswordConfirmationRequired to create user storages endpoint
Signed-off-by: yemkareems <yemkareems@gmail.com>
This commit is contained in:
parent
5be832344e
commit
d3f1b76ebb
1 changed files with 2 additions and 0 deletions
|
|
@ -13,6 +13,7 @@ use OCA\Files_External\NotFoundException;
|
|||
use OCA\Files_External\Service\UserStoragesService;
|
||||
use OCP\AppFramework\Http;
|
||||
use OCP\AppFramework\Http\Attribute\NoAdminRequired;
|
||||
use OCP\AppFramework\Http\Attribute\PasswordConfirmationRequired;
|
||||
use OCP\AppFramework\Http\DataResponse;
|
||||
use OCP\IConfig;
|
||||
use OCP\IGroupManager;
|
||||
|
|
@ -99,6 +100,7 @@ class UserStoragesController extends StoragesController {
|
|||
* @return DataResponse
|
||||
*/
|
||||
#[NoAdminRequired]
|
||||
#[PasswordConfirmationRequired]
|
||||
public function create(
|
||||
$mountPoint,
|
||||
$backend,
|
||||
|
|
|
|||
Loading…
Reference in a new issue