Skip to content

Commit b8581b1

Browse files
committed
Implement canConfirmPassword
1 parent 5b195d7 commit b8581b1

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

lib/Backend/UserBackend.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
use OCP\User\Backend\ICountUsersBackend;
4242
use OCP\User\Backend\IGetDisplayNameBackend;
4343
use OCP\User\Backend\IGetHomeBackend;
44+
use OCP\User\Backend\IPasswordConfirmationBackend;
4445
use OCP\User\Backend\IProvideAvatarBackend;
4546
use OCP\User\Backend\ISetDisplayNameBackend;
4647
use OCP\User\Backend\ISetPasswordBackend;
@@ -55,6 +56,7 @@ final class UserBackend extends ABackend implements
5556
ICountUsersBackend,
5657
IGetDisplayNameBackend,
5758
IGetHomeBackend,
59+
IPasswordConfirmationBackend,
5860
IProvideAvatarBackend,
5961
ISetDisplayNameBackend,
6062
ISetPasswordBackend
@@ -660,4 +662,12 @@ public function implementsActions($actions): bool
660662

661663
return parent::implementsActions($actions);
662664
}
665+
666+
/**
667+
* @inheritdoc
668+
*/
669+
public function canConfirmPassword(string $uid): bool
670+
{
671+
return true;
672+
}
663673
}

0 commit comments

Comments
 (0)