File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4141use OCP \User \Backend \ICountUsersBackend ;
4242use OCP \User \Backend \IGetDisplayNameBackend ;
4343use OCP \User \Backend \IGetHomeBackend ;
44+ use OCP \User \Backend \IPasswordConfirmationBackend ;
4445use OCP \User \Backend \IProvideAvatarBackend ;
4546use OCP \User \Backend \ISetDisplayNameBackend ;
4647use 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}
You can’t perform that action at this time.
0 commit comments