This repository was archived by the owner on Oct 19, 2022. It is now read-only.
Add optional support for post-login redirect#2
Open
neil-s wants to merge 13 commits intomatagus:masterfrom
Open
Add optional support for post-login redirect#2neil-s wants to merge 13 commits intomatagus:masterfrom
neil-s wants to merge 13 commits intomatagus:masterfrom
Conversation
added 5 commits
February 13, 2013 16:45
Sending next parameter to login ensures you end up at the same page after logging in.
The auth module takes 'next' as an optional parameter. If this is not passed, it checks if the settings specify a 'LASTFM_AUTH_REDIRECT' to redirect to. If not, it redirects to '/admin/'
Ignore Finder, pyc and egg-info files
Owner
Author
|
Whoops, didn't realise new commits would be added automatically to the pull request. Doesn't seem to be any straightforward way to remove commits from the pull request, what do you suggest? Should I undo the changes on my own repo by reverting changes and then squashing all those commits? Or is there a way to just exclude them from the pull request? |
added 8 commits
February 26, 2013 22:42
…ver is running and configured correctly.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The changes in this pull request enable developers to set the path the module will redirect to, instead of defaulting to /admin/. The redirect path is determined in the following order.
I've set the default value for backwards compatibility, so existing projects will not break when they update to this without changing their code, and will continue to function normally.