-
Notifications
You must be signed in to change notification settings - Fork 298
Add a USER_URL_PREFIX configuration option #95
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
Open
sangaline
wants to merge
4
commits into
lingthio:master
Choose a base branch
from
sangaline:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
649a6a5
Add USER_URL_PREFIX which defaults to /user
sangaline 1ba5fbc
Add USER_URL_PREFIX to the documentation.
sangaline c36d88d
Remove redirect url determinations that aren't need.
sangaline f547bba
Fix the logic around auto-logging without email confirmation after re…
sangaline File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,15 +1,16 @@ | ||
| :: | ||
|
|
||
| # URLs # Default | ||
| USER_CHANGE_PASSWORD_URL = '/user/change-password' | ||
| USER_CHANGE_USERNAME_URL = '/user/change-username' | ||
| USER_CONFIRM_EMAIL_URL = '/user/confirm-email/<token>' | ||
| USER_EMAIL_ACTION_URL = '/user/email/<id>/<action>' # v0.5.1 and up | ||
| USER_FORGOT_PASSWORD_URL = '/user/forgot-password' | ||
| USER_INVITE_URL = '/user/invite' # v0.6.2 and up | ||
| USER_LOGIN_URL = '/user/login' | ||
| USER_LOGOUT_URL = '/user/logout' | ||
| USER_MANAGE_EMAILS_URL = '/user/manage-emails' | ||
| USER_REGISTER_URL = '/user/register' | ||
| USER_RESEND_CONFIRM_EMAIL_URL = '/user/resend-confirm-email' # v0.5.0 and up | ||
| USER_RESET_PASSWORD_URL = '/user/reset-password/<token>' | ||
| USER_URL_PREFIX = '/user' | ||
| USER_CHANGE_PASSWORD_URL = USER_URL_PREFIX + '/change-password' | ||
| USER_CHANGE_USERNAME_URL = USER_URL_PREFIX + '/change-username' | ||
| USER_CONFIRM_EMAIL_URL = USER_URL_PREFIX + '/confirm-email/<token>' | ||
| USER_EMAIL_ACTION_URL = USER_URL_PREFIX + '/email/<id>/<action>' # v0.5.1 and up | ||
| USER_FORGOT_PASSWORD_URL = USER_URL_PREFIX + '/forgot-password' | ||
| USER_INVITE_URL = USER_URL_PREFIX + '/invite' # v0.6.2 and up | ||
| USER_LOGIN_URL = USER_URL_PREFIX + '/login' | ||
| USER_LOGOUT_URL = USER_URL_PREFIX + '/logout' | ||
| USER_MANAGE_EMAILS_URL = USER_URL_PREFIX + '/manage-emails' | ||
| USER_REGISTER_URL = USER_URL_PREFIX + '/register' | ||
| USER_RESEND_CONFIRM_EMAIL_URL = USER_URL_PREFIX + '/resend-confirm-email' # v0.5.0 and up | ||
| USER_RESET_PASSWORD_URL = USER_URL_PREFIX + '/reset-password/<token>' |
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
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure if this things have to be in the same pull request with
USER_URL_PREFIX. I would prefer to have a separate PR with this changes. Any way thank you! It looks useful too! 👍