Skip to content

Commit

Permalink
Fixing PROJECTROLES_ADMIN_OWNER to root.
Browse files Browse the repository at this point in the history
  • Loading branch information
holtgrewe committed May 5, 2021
1 parent f9bda4a commit 658a7de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions HISTORY.rst
Expand Up @@ -16,6 +16,8 @@ End-User Summary
Full Change List
================

- Fixing problem with ``PROJECTROLES_ADMIN_OWNER`` being set to ``admin`` default but the system user being ``root`` in the prebuilt databases.
The value now defaults to ``root``.
- Fixing undefined variable bug.
- Fixing result rows not colored anymore.
- Fixing double CSS import.
Expand Down
4 changes: 2 additions & 2 deletions config/settings/base.py
Expand Up @@ -564,8 +564,8 @@ def fixed_array_type(field):

PROJECTROLES_SITE_MODE = env.str("PROJECTROLES_SITE_MODE", "TARGET")
PROJECTROLES_TARGET_CREATE = env.bool("PROJECTROLES_TARGET_CREATE", True)
PROJECTROLES_ADMIN_OWNER = env.str("PROJECTROLES_DEFAULT_ADMIN", "admin")
PROJECTROLES_DEFAULT_ADMIN = env.str("PROJECTROLES_DEFAULT_ADMIN", "admin")
PROJECTROLES_ADMIN_OWNER = env.str("PROJECTROLES_DEFAULT_ADMIN", "root")
PROJECTROLES_DEFAULT_ADMIN = env.str("PROJECTROLES_DEFAULT_ADMIN", PROJECTROLES_ADMIN_OWNER)
PROJECTROLES_EMAIL_SENDER_REPLY = env.bool("PROJECTROLES_EMAIL_SENDER_REPLY", False)

# Allow showing and synchronizing local non-admin users
Expand Down

0 comments on commit 658a7de

Please sign in to comment.