[GH-ISSUE #1660] Simple User cannot login #1305

Closed
opened 2026-02-27 11:16:25 +03:00 by kerem · 5 comments
Owner

Originally created by @aurora on GitHub (Jan 19, 2019).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/1660

Impacted versions

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

Current behavior

I have the problem, that users with the role "Simple User" are unable to log-in. The message they get is just:

Sorry
An internal error occured

If i change the role to "Domain Administrator", the user can log-in. So this issue apparently only effects users with the role "Simple User" applied. I have no idea, how i can debug this further - if i enable "Debug = True" in the settings, it does not give me any additional information.

Originally created by @aurora on GitHub (Jan 19, 2019). Original GitHub issue: https://github.com/modoboa/modoboa/issues/1660 # Impacted versions * Modoboa: 1.13.0 * installer used: Yes * Webserver: Nginx # Current behavior I have the problem, that users with the role "Simple User" are unable to log-in. The message they get is just: Sorry An internal error occured If i change the role to "Domain Administrator", the user can log-in. So this issue apparently only effects users with the role "Simple User" applied. I have no idea, how i can debug this further - if i enable "Debug = True" in the settings, it does not give me any additional information.
kerem 2026-02-27 11:16:25 +03:00
Author
Owner

@aurora commented on GitHub (Jan 20, 2019):

Apparently this has something to do with the setting the admin user can do in "Modoboa -> Parameters -> General -> Miscellaneous": "Default top redirection" - if set to something a simple-user has no access to, the internal error occurs.

In my opinion modoboa should:

  • fallback to a page that a simple user is allowed to access
  • or provide a functionality to define the redirection per role
<!-- gh-comment-id:455874015 --> @aurora commented on GitHub (Jan 20, 2019): Apparently this has something to do with the setting the admin user can do in "Modoboa -> Parameters -> General -> Miscellaneous": "Default top redirection" - if set to something a simple-user has no access to, the internal error occurs. In my opinion modoboa should: * fallback to a page that a simple user is allowed to access * or provide a functionality to define the redirection per role
Author
Owner

@tonioo commented on GitHub (Jan 21, 2019):

@aurora When DEBUG is enabled, you need to check server responses content using a javascript debugger (F12 key).

<!-- gh-comment-id:456007198 --> @tonioo commented on GitHub (Jan 21, 2019): @aurora When DEBUG is enabled, you need to check server responses content using a javascript debugger (F12 key).
Author
Owner

@tonioo commented on GitHub (Jan 31, 2019):

@aurora Any news?

<!-- gh-comment-id:459447037 --> @tonioo commented on GitHub (Jan 31, 2019): @aurora Any news?
Author
Owner

@aurora commented on GitHub (Jan 31, 2019):

@tonioo sorry, i've been busy with other things lately, but i will try the coming weekend.

<!-- gh-comment-id:459477623 --> @aurora commented on GitHub (Jan 31, 2019): @tonioo sorry, i've been busy with other things lately, but i will try the coming weekend.
Author
Owner

@tonioo commented on GitHub (Feb 25, 2019):

@aurora Any news?

<!-- gh-comment-id:466953536 --> @tonioo commented on GitHub (Feb 25, 2019): @aurora Any news?
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#1305
No description provided.