]> 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 0f2dec1a41e38ba9403f4eedcde91b9a0b83e7ed..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()) {