diff options
author | Marcin Łojewski <marcin.lojewski@mlojewski.me> | 2019-01-19 11:29:50 +0300 |
---|---|---|
committer | Marcin Łojewski <marcin.lojewski@mlojewski.me> | 2019-01-19 11:29:50 +0300 |
commit | b8581b109895707221d4851728d275a9a0989298 (patch) | |
tree | f3aa9eca0a2d401536cf7dfff5d13932b3061f37 | |
parent | 5b195d7a126e578c1cdbf7a9d705eff0f53f7800 (diff) |
Implement canConfirmPassword
-rw-r--r-- | lib/Backend/UserBackend.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/Backend/UserBackend.php b/lib/Backend/UserBackend.php index d8c6ae8..9882c12 100644 --- a/lib/Backend/UserBackend.php +++ b/lib/Backend/UserBackend.php @@ -41,6 +41,7 @@ use OCP\User\Backend\ICheckPasswordBackend; use OCP\User\Backend\ICountUsersBackend; use OCP\User\Backend\IGetDisplayNameBackend; use OCP\User\Backend\IGetHomeBackend; +use OCP\User\Backend\IPasswordConfirmationBackend; use OCP\User\Backend\IProvideAvatarBackend; use OCP\User\Backend\ISetDisplayNameBackend; use OCP\User\Backend\ISetPasswordBackend; @@ -55,6 +56,7 @@ final class UserBackend extends ABackend implements ICountUsersBackend, IGetDisplayNameBackend, IGetHomeBackend, + IPasswordConfirmationBackend, IProvideAvatarBackend, ISetDisplayNameBackend, ISetPasswordBackend @@ -660,4 +662,12 @@ final class UserBackend extends ABackend implements return parent::implementsActions($actions); } + + /** + * @inheritdoc + */ + public function canConfirmPassword(string $uid): bool + { + return true; + } } |