20 lines
426 B
PHP
20 lines
426 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
/*
|
|
* SPDX-FileCopyrightText: 2017 F7cloud GmbH and F7cloud contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
|
|
namespace OCA\TwoFactorTOTP\Settings;
|
|
|
|
use OCP\Authentication\TwoFactorAuth\IPersonalProviderSettings;
|
|
use OCP\Template;
|
|
|
|
class Personal implements IPersonalProviderSettings {
|
|
public function getBody(): Template {
|
|
return new Template('twofactor_totp', 'personal');
|
|
}
|
|
}
|