]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Settings/TwoFactor/Index.php
Added parameters
[friendica.git] / src / Module / Settings / TwoFactor / Index.php
index e7694225c43f9bb3ef607e42bc7bf50d838c1a80..9a661ef731fbd28e15355b392acbe276b0cabfe3 100644 (file)
@@ -17,7 +17,7 @@ use PragmaRX\Google2FA\Google2FA;
 
 class Index extends BaseSettingsModule
 {
-       public static function post()
+       public static function post($parameters)
        {
                if (!local_user()) {
                        return;
@@ -73,13 +73,13 @@ class Index extends BaseSettingsModule
                }
        }
 
-       public static function content()
+       public static function content($parameters)
        {
                if (!local_user()) {
                        return Login::form('settings/2fa');
                }
 
-               parent::content();
+               parent::content($parameters);
 
                $has_secret = (bool) PConfig::get(local_user(), '2fa', 'secret');
                $verified = PConfig::get(local_user(), '2fa', 'verified');