]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Removed erroneous comments referring to old common_notice_form() func
authorZach Copley <zach@controlyourself.ca>
Wed, 4 Feb 2009 19:55:22 +0000 (11:55 -0800)
committerZach Copley <zach@controlyourself.ca>
Wed, 4 Feb 2009 19:55:22 +0000 (11:55 -0800)
actions/login.php
actions/newnotice.php

index 11cf1f02a6e77b9bea67664acde0977205e34a6d..6c6567b7bab0668cc869be388f602db9cf957f26 100644 (file)
@@ -96,7 +96,6 @@ class LoginAction extends Action
     {
         // XXX: login throttle
 
-        // CSRF protection - token set in common_notice_form()
         $token = $this->trimmed('token');
         if (!$token || $token != common_session_token()) {
             $this->clientError(_('There was a problem with your session token. '.
index 61f0f83650b88444409448870f44913a2e8fa316..5e7691f33d1cae68442b8b18b4c643eb3deca24b 100644 (file)
@@ -90,7 +90,7 @@ class NewnoticeAction extends Action
             $this->clientError(_('Not logged in.'));
         } else if ($_SERVER['REQUEST_METHOD'] == 'POST') {
 
-            // CSRF protection - token set in common_notice_form()
+            // CSRF protection
             $token = $this->trimmed('token');
             if (!$token || $token != common_session_token()) {
                 $this->clientError(_('There was a problem with your session token. '.