]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/subscribe.php
debug logging in __process
[quix0rs-gnu-social.git] / actions / subscribe.php
index 8bb723799c3f37a311f84639c19ae5cf7b3910d7..8d04934b7d3fb8b6bd7be3b5d499a577d2f40439 100644 (file)
@@ -41,7 +41,7 @@ class SubscribeAction extends Action {
                $token = $this->trimmed('token');
                
                if (!$token || $token != common_session_token()) {
-                       common_redirect(common_local_url('subscriptions', array('nickname' => $user->nickname)));
+                       $this->client_error(_('There was a problem with your session token. Try again, please.'));
                        return;
                }