Personal.php 448 B

123456789101112131415161718
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
  5. * SPDX-License-Identifier: AGPL-3.0-or-later
  6. */
  7. namespace OCA\TwoFactorBackupCodes\Settings;
  8. use OCP\Authentication\TwoFactorAuth\IPersonalProviderSettings;
  9. use OCP\Template;
  10. class Personal implements IPersonalProviderSettings {
  11. public function getBody(): Template {
  12. return new Template('twofactor_backupcodes', 'personal');
  13. }
  14. }