return;
}
+ # CSRF protection
+
+ $token = $this->trimmed('token');
+
+ if (!$token || $token != common_session_token()) {
+ $this->client_error(_('There was a problem with your session token. Try again, please.'));
+ return;
+ }
+
$other_nickname = $this->arg('subscribeto');
$result=subs_subscribe_user($user, $other_nickname);