I have added the login form to a page using drupal_get_form
.
Now, I would like to redirect the users back to that page after login.
Note: I don't want to redirect users that logged in somewhere else (e.g. user/login), and I also don't want to use a contib module for that.
B.T.W Maybe if I'll Ajaxify the login form it will have the same effect?
I'll appericiate any help and/or examples.
Thanks!