mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-25 17:06:01 +03:00
[PR #1186] [MERGED] Fix redirect url #2151
Labels
No labels
bug
bug
dependencies
design
documentation
duplicate
enhancement
enhancement
enhancement
feedback-needed
help-needed
help-needed
installer
invalid
looking-for-sponsors
modoboa-contacts
new-ui
new-ui
pr
pull-request
pyconfr
python
question
security
stale
webmail
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/modoboa-modoboa#2151
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/modoboa/modoboa/pull/1186
Author: @florealcab
Created: 7/14/2017
Status: ✅ Merged
Merged: 7/16/2017
Merged by: @tonioo
Base:
master← Head:master📝 Commits (1)
d098a16Fix redirect url📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
modoboa/core/views/base.py(+1 -1)📄 Description
Description of the issue/feature this PR addresses:
When we logout, the new url has not the "next" get parameter. nextlocation is not None in this case, but "None" (the string).
Current behavior before PR:
So if we re-login, we are redirected to accounts/login/None, that does not exists (404).
Desired behavior after PR is merged:
I add ' != "None" ' to the conditions, so now the re-login works.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.