[GH-ISSUE #1180] Cookie issue: user redirected to ../accounts/login/None #964

Closed
opened 2026-02-27 11:14:30 +03:00 by kerem · 1 comment
Owner

Originally created by @pavinjosdev on GitHub (Jul 9, 2017).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/1180

Originally assigned to: @tonioo on GitHub.

Impacted versions

  • Modoboa: 1.8.1
  • installer used: Yes
  • Webserver: Nginx

Steps to reproduce

  1. Login as User1 (SuperAdmin)
  2. Logout.
  3. Login as User2 (Resellers)

Current behavior

When logging in as User2, he's redirected to https://modoboa.tld/accounts/login/None

"Sorry
The requested page does not exist."

Expected behavior

Logging in and out as different users should be possible without clear cookies!

Tested in Chrome and Firefox (clean install) latest versions.

Originally created by @pavinjosdev on GitHub (Jul 9, 2017). Original GitHub issue: https://github.com/modoboa/modoboa/issues/1180 Originally assigned to: @tonioo on GitHub. # Impacted versions * Modoboa: 1.8.1 * installer used: Yes * Webserver: Nginx # Steps to reproduce 1. Login as User1 (SuperAdmin) 2. Logout. 3. Login as User2 (Resellers) # Current behavior When logging in as User2, he's redirected to https://modoboa.tld/accounts/login/None "Sorry The requested page does not exist." # Expected behavior Logging in and out as different users should be possible without clear cookies! Tested in Chrome and Firefox (clean install) latest versions.
kerem 2026-02-27 11:14:30 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@Wedmer commented on GitHub (Jul 11, 2017):

More info:
If you target to "/", you will be redirected to "/accounts/login/?next=/" and you will be redirected normally after login.
If you target directly to "/accounts/login/", you will be redirected to "/accounts/login/None" after login

<!-- gh-comment-id:314283866 --> @Wedmer commented on GitHub (Jul 11, 2017): More info: If you target to "/", you will be redirected to "/accounts/login/?next=/" and you will be redirected normally after login. If you target directly to "/accounts/login/", you will be redirected to "/accounts/login/None" after login
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/modoboa-modoboa#964
No description provided.