Skip to content

Commit

Permalink
fix: avoid duplicate gitlab scope
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed Feb 4, 2025
1 parent 0f6598f commit 1c49689
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion weblate/settings_docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,6 @@
SOCIAL_AUTH_GITLAB_SECRET = get_env_str(
"WEBLATE_SOCIAL_AUTH_GITLAB_SECRET", required=True
)
SOCIAL_AUTH_GITLAB_SCOPE = ["read_user"]
if "WEBLATE_SOCIAL_AUTH_GITLAB_API_URL" in os.environ:
SOCIAL_AUTH_GITLAB_API_URL = get_env_str("WEBLATE_SOCIAL_AUTH_GITLAB_API_URL")
AUTHENTICATION_BACKENDS += ("social_core.backends.gitlab.GitLabOAuth2",)
Expand Down

0 comments on commit 1c49689

Please # to comment.