From: Zach Copley Date: Wed, 4 Feb 2009 19:55:22 +0000 (-0800) Subject: Removed erroneous comments referring to old common_notice_form() func X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=df41b1307f9a2690115e246e584d6a398d4f9730;p=quix0rs-gnu-social.git Removed erroneous comments referring to old common_notice_form() func --- diff --git a/actions/login.php b/actions/login.php index 11cf1f02a6..6c6567b7ba 100644 --- a/actions/login.php +++ b/actions/login.php @@ -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. '. diff --git a/actions/newnotice.php b/actions/newnotice.php index 61f0f83650..5e7691f33d 100644 --- a/actions/newnotice.php +++ b/actions/newnotice.php @@ -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. '.