return common_local_url('disfavor');
}
- /**
- * Include a session token for CSRF protection
- *
- * @return void
- */
- function sessionToken()
- {
- $this->out->hidden('token-' . $this->notice->id,
- common_session_token(),
- 'token');
- }
-
/**
* Legend of the Form
*
return common_local_url('favor');
}
- /**
- * Include a session token for CSRF protection
- *
- * @return void
- */
- function sessionToken()
- {
- $this->out->hidden('token-' . $this->notice->id,
- common_session_token(),
- 'token');
- }
-
/**
* Legend of the Form
*
function sessionToken()
{
- $this->out->hidden('token', common_session_token());
+ $this->out->hidden('token-' . $this->id() ?: common_random_hexstr(3), common_session_token(), 'token');
}
/**
return common_local_url('repeat');
}
- /**
- * Include a session token for CSRF protection
- *
- * @return void
- */
- function sessionToken()
- {
- $this->out->hidden('token-' . $this->notice->id,
- common_session_token());
- }
-
/**
* Legend of the Form
*