Skip to content

Commit

Permalink
Set default org language to en
Browse files Browse the repository at this point in the history
  • Loading branch information
virtualzone committed Sep 1, 2024
1 parent 92bde6d commit dc8e161
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ Please check out the [documentation](https://seatsurfing.app/docs/) for the late
| INIT_ORG_DOMAIN | string | seatsurfing.local | Your organization's domain |
| INIT_ORG_USER | string | admin | Your organization's admin username |
| INIT_ORG_PASS | string | 12345678 | Your organization's admin password |
| INIT_ORG_LANGUAGE | string | de | Your organization's ISO language code |
| INIT_ORG_LANGUAGE | string | en | Your organization's ISO language code |
| ORG_SIGNUP_ENABLED | bool | 0 | Allow signup of new organizations, set to 1 to enable |
| ORG_SIGNUP_DOMAIN | string | .on.seatsurfing.local | Signup domain suffix |
| ORG_SIGNUP_ADMIN | string | admin | Admin username for new signups |
Expand Down
2 changes: 1 addition & 1 deletion docker-readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ Please check out the [documentation](https://seatsurfing.app/docs/) for the late
| INIT_ORG_DOMAIN | string | seatsurfing.local | Your organization's domain |
| INIT_ORG_USER | string | admin | Your organization's admin username |
| INIT_ORG_PASS | string | 12345678 | Your organization's admin password |
| INIT_ORG_LANGUAGE | string | de | Your organization's ISO language code |
| INIT_ORG_LANGUAGE | string | en | Your organization's ISO language code |
| ORG_SIGNUP_ENABLED | bool | 0 | Allow signup of new organizations, set to 1 to enable |
| ORG_SIGNUP_DOMAIN | string | .on.seatsurfing.local | Signup domain suffix |
| ORG_SIGNUP_ADMIN | string | admin | Admin username for new signups |
Expand Down
2 changes: 1 addition & 1 deletion server/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func (c *Config) ReadConfig() {
c.InitOrgDomain = c.getEnv("INIT_ORG_DOMAIN", "seatsurfing.local")
c.InitOrgUser = c.getEnv("INIT_ORG_USER", "admin")
c.InitOrgPass = c.getEnv("INIT_ORG_PASS", "12345678")
c.InitOrgLanguage = c.getEnv("INIT_ORG_LANGUAGE", "de")
c.InitOrgLanguage = c.getEnv("INIT_ORG_LANGUAGE", "en")
c.OrgSignupEnabled = (c.getEnv("ORG_SIGNUP_ENABLED", "0") == "1")
c.OrgSignupDomain = c.getEnv("ORG_SIGNUP_DOMAIN", ".on.seatsurfing.local")
c.OrgSignupAdmin = c.getEnv("ORG_SIGNUP_ADMIN", "admin")
Expand Down

0 comments on commit dc8e161

Please sign in to comment.