Skip to content

Commit

Permalink
fixed salt script to have corrrect env value for SOCIAL_AUTH_LOGIN_RE…
Browse files Browse the repository at this point in the history
…DIRECT_URL
  • Loading branch information
romer8 committed Apr 4, 2024
1 parent d69d719 commit 7103d6e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions salt/init_apps.sls
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ Pre_Apps_Settings:
Set_Tethys_Settings_For_Apps:
cmd.run:
- name: >
tethys settings --set FILE_UPLOAD_MAX_MEMORY_SIZE {{ FILE_UPLOAD_MAX_MEMORY_SIZE }} &&
tethys settings --set DATA_UPLOAD_MAX_MEMORY_SIZE {{ FILE_UPLOAD_MAX_MEMORY_SIZE }} &&
tethys settings --set DATA_UPLOAD_MAX_NUMBER_FIELDS {{ FILE_UPLOAD_MAX_MEMORY_SIZE }}
Expand All @@ -33,7 +32,7 @@ Set_HydroShare_Login:
tethys settings --set AUTHENTICATION_BACKENDS {{ AUTHENTICATION_BACKENDS }} &&
tethys settings --set OAUTH_CONFIG.SOCIAL_AUTH_HYDROSHARE_KEY {{ HYDROSHARE_CLIENT_ID }} &&
tethys settings --set OAUTH_CONFIG.SOCIAL_AUTH_HYDROSHARE_SECRET {{ HYDROSHARE_SECRET_ID }}
tethys settings --set OAUTH_CONFIG.SOCIAL_AUTH_LOGIN_REDIRECT_URL {{ SOCIAL_AUTH_LOGIN_REDIRECT_URL: }}
tethys settings --set OAUTH_CONFIG.SOCIAL_AUTH_LOGIN_REDIRECT_URL {{ SOCIAL_AUTH_LOGIN_REDIRECT_URL }}

{% if PREFIX_URL %}
Expand Down

0 comments on commit 7103d6e

Please sign in to comment.