diff --git a/lib/Controller/PageController.php b/lib/Controller/PageController.php index 47bd39e..bfdc83e 100644 --- a/lib/Controller/PageController.php +++ b/lib/Controller/PageController.php @@ -4,6 +4,7 @@ use OCA\MyCompany\AppInfo\Application; use OCA\Settings\Settings\Personal\PersonalInfo; +use OCA\Settings\Settings\Personal\Security\Authtokens; use OCP\AppFramework\Controller; use OCP\AppFramework\Http\Attribute\NoAdminRequired; use OCP\AppFramework\Http\Attribute\NoCSRFRequired; @@ -14,7 +15,8 @@ class PageController extends Controller { public function __construct( IRequest $request, - private PersonalInfo $personalInfo + private PersonalInfo $personalInfo, + private Authtokens $authTokens, ) { parent::__construct(Application::APP_ID, $request); } diff --git a/src/views/Security.vue b/src/views/Security.vue index 61b065e..8d85fa3 100644 --- a/src/views/Security.vue +++ b/src/views/Security.vue @@ -3,18 +3,32 @@