Skip to content

Fix SSHCHAT_TIMESTAMP env variables#392

Merged
shazow merged 3 commits intoshazow:masterfrom
voldyman:env-wars
May 2, 2021
Merged

Fix SSHCHAT_TIMESTAMP env variables#392
shazow merged 3 commits intoshazow:masterfrom
voldyman:env-wars

Conversation

@voldyman
Copy link
Copy Markdown
Contributor

@voldyman voldyman commented May 2, 2021

We were trying to set config based on environment variables before the user was registered in the host. This changes fixes it by moves the configuration step.

I liked the feature so i put a test on it.

Akshay added 3 commits May 1, 2021 09:41
The env vars were beign parsed and set to the host
before the user was even added to the host and
hence ignored. This change moves the env var parsing
to after initializing the user.

TODO: tests, completeness+reliability
@shazow shazow merged commit e1e5343 into shazow:master May 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants