diff options
author | Zach Copley <zach@controlyourself.ca> | 2009-02-04 11:55:22 -0800 |
---|---|---|
committer | Zach Copley <zach@controlyourself.ca> | 2009-02-04 11:55:22 -0800 |
commit | df41b1307f9a2690115e246e584d6a398d4f9730 (patch) | |
tree | 40d4471e8b9b2bf0f9529e4960e279b20bd898d7 /actions | |
parent | b43bdda312fb10501597251f406e58b5b907d480 (diff) |
Removed erroneous comments referring to old common_notice_form() func
Diffstat (limited to 'actions')
-rw-r--r-- | actions/login.php | 1 | ||||
-rw-r--r-- | actions/newnotice.php | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/actions/login.php b/actions/login.php index 11cf1f02a..6c6567b7b 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 61f0f8365..5e7691f33 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. '. |