]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/login.php
CSRF protection for subscription/unsubscription
[quix0rs-gnu-social.git] / actions / login.php
index a60f3c65ce929675d0a965e82b24dd392a609e85..aa25a0cec5fb3a179524100c5a0af15dd25290a2 100644 (file)
@@ -21,6 +21,10 @@ if (!defined('LACONICA')) { exit(1); }
 
 class LoginAction extends Action {
 
+       function is_readonly() {
+               return true;
+       }
+
        function handle($args) {
                parent::handle($args);
                if (common_is_real_login()) {
@@ -138,4 +142,3 @@ class LoginAction extends Action {
                }
        }
 }
-#
\ No newline at end of file