Please upgrade to 2.2 here.
The 2.0 and 2.1 branches are no longer being updated.
How to redirect back to current page after signing in
If a user is not signed in and decides to reply to a discussion, they will click on the "add comment" button and then the sign-in pop-up will appear. Problem is, when the user enters their details and signs in, it simply takes them back to the main discussion page or wherever i set my homepage in the dashboard, instead of taking them back to the specific discussion they were viewing just before they signed in.
How can i get it to redirect the user back to where they were?