session token in userauthorization form

darcs-hash:20080829052847-84dde-a64918a75f8300ec8fb230202881691066147652.gz
This commit is contained in:
Evan Prodromou 2008-08-29 01:28:47 -04:00
parent 63438008e0
commit 98e941753b

View File

@ -123,6 +123,7 @@ class UserauthorizationAction extends Action {
'id' => 'userauthorization', 'id' => 'userauthorization',
'name' => 'userauthorization', 'name' => 'userauthorization',
'action' => common_local_url('userauthorization'))); 'action' => common_local_url('userauthorization')));
common_hidden('token', common_session_token());
common_submit('accept', _('Accept')); common_submit('accept', _('Accept'));
common_submit('reject', _('Reject')); common_submit('reject', _('Reject'));
common_element_end('form'); common_element_end('form');