]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Security/Login.php
Standards
[friendica.git] / src / Module / Security / Login.php
index 5c47e97496e1324743e23b5d390946ea9643c271..3ba0eb714ec1c39018d85ce2137ae6dc03be8c0e 100644 (file)
@@ -33,7 +33,7 @@ use Friendica\Module\Register;
  */
 class Login extends BaseModule
 {
-       public function content(): string
+       protected function content(array $request = []): string
        {
                $return_path = $_REQUEST['return_path'] ?? '' ;
 
@@ -46,7 +46,7 @@ class Login extends BaseModule
                return self::form(Session::get('return_path'), intval(DI::config()->get('config', 'register_policy')) !== \Friendica\Module\Register::CLOSED);
        }
 
-       public function post()
+       protected function post(array $request = [])
        {
                $return_path = Session::get('return_path');
                Session::clear();