]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Settings/TwoFactor/Index.php
Move title attribute to <time> tag
[friendica.git] / src / Module / Settings / TwoFactor / Index.php
index b173a092d4f2d757907e36821aef400bb6a3982d..0dcef14ad9deb17d55bf527f9f72946fdb608132 100644 (file)
@@ -33,7 +33,7 @@ use PragmaRX\Google2FA\Google2FA;
 
 class Index extends BaseSettings
 {
-       public static function post()
+       public function post()
        {
                if (!local_user()) {
                        return;
@@ -94,7 +94,7 @@ class Index extends BaseSettings
                }
        }
 
-       public static function content()
+       public function content(): string
        {
                if (!local_user()) {
                        return Login::form('settings/2fa');