mirror of
https://github.com/nextcloud/server.git
synced 2025-05-04 22:11:01 +00:00
21 lines
548 B
PHP
21 lines
548 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
/**
|
|
* SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
|
|
namespace OCA\TwoFactorBackupCodes\Settings;
|
|
|
|
use OCP\Authentication\TwoFactorAuth\IPersonalProviderSettings;
|
|
use OCP\Server;
|
|
use OCP\Template\ITemplate;
|
|
use OCP\Template\ITemplateManager;
|
|
|
|
class Personal implements IPersonalProviderSettings {
|
|
public function getBody(): ITemplate {
|
|
return Server::get(ITemplateManager::class)->getTemplate('twofactor_backupcodes', 'personal');
|
|
}
|
|
}
|