summaryrefslogtreecommitdiffstats
path: root/apps/twofactor_backupcodes/lib/Settings
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2019-01-17 12:30:47 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2019-01-29 22:21:54 +0100
commitf30877ea7c758346b700e4ac0f9c684a5ae99c7f (patch)
treeffbdd342c3bcc42d08d7315e78dc3075fe93a2b9 /apps/twofactor_backupcodes/lib/Settings
parent139055c1ddec25465dd7644de9866cd6a1048da2 (diff)
downloadnextcloud-server-f30877ea7c758346b700e4ac0f9c684a5ae99c7f.tar.gz
nextcloud-server-f30877ea7c758346b700e4ac0f9c684a5ae99c7f.zip
Provide initial state
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/twofactor_backupcodes/lib/Settings')
-rw-r--r--apps/twofactor_backupcodes/lib/Settings/Personal.php12
1 files changed, 1 insertions, 11 deletions
diff --git a/apps/twofactor_backupcodes/lib/Settings/Personal.php b/apps/twofactor_backupcodes/lib/Settings/Personal.php
index 426336e1a56..1b342c19c48 100644
--- a/apps/twofactor_backupcodes/lib/Settings/Personal.php
+++ b/apps/twofactor_backupcodes/lib/Settings/Personal.php
@@ -28,18 +28,8 @@ use OCP\Authentication\TwoFactorAuth\IPersonalProviderSettings;
use OCP\Template;
class Personal implements IPersonalProviderSettings {
-
- /** @var string */
- private $state;
-
- public function __construct(string $state) {
- $this->state = $state;
- }
-
public function getBody(): Template {
- $template = new Template('twofactor_backupcodes', 'personal');
- $template->assign('state', $this->state);
- return $template;
+ return new Template('twofactor_backupcodes', 'personal');
}
}