Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MOTM-851: Redirect user to the page they visited before logging in after... #918

Merged
merged 3 commits into from
Dec 10, 2014

Conversation

thnkloud9
Copy link
Contributor

... they login

@takeit
Copy link
Contributor

takeit commented Dec 10, 2014

👍

@thnkloud9
Copy link
Contributor Author

@ahilles107 can we merge this to 4.4 as well?

@ahilles107
Copy link
Contributor

I don't like the solution of using referer header.

i would prefer to use custom request parameter (post|get) called: _target_path

I can accept it when you will add this also to socialAction (like we have it done in master branch - https://github.com/sourcefabric/Newscoop/blob/master/newscoop/application/controllers/AuthController.php#L118 ).

@thnkloud9
Copy link
Contributor Author

sounds good to me....done

@thnkloud9
Copy link
Contributor Author

sorry, one more change need, please dont merge yet

@thnkloud9
Copy link
Contributor Author

To make this _target_path field default should I add this to application/forms/Login.php?

@thnkloud9
Copy link
Contributor Author

ok, I think this is ready

ahilles107 pushed a commit that referenced this pull request Dec 10, 2014
MOTM-851: Redirect user to the page they visited before logging in after...
@ahilles107 ahilles107 merged commit 787a8e0 into sourcefabric:zplus Dec 10, 2014
takeit added a commit to takeit/Newscoop that referenced this pull request Mar 4, 2015
ahilles107 pushed a commit that referenced this pull request Mar 4, 2015
A proper merge of #918 into 4.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants