Fixing a few things #66
No reviewers
Labels
No labels
bug
dependencies
documentation
duplicate
enhancement
github_actions
go
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference: dleven/authfox#66
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fixing"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR solves a few issues that are dangling around:
Why this is not handled within a
.envfile?This contains a lot of code repetition, there is surely a better to handle the session
because authfox will run in a docker container in production, allowing users to use a .env file for development would mean extra code that is not necessary. So I guess that a better approach would be automating the configuration of the development environment set up, like visual studio code container work spaces (which would also handle the DB setup so people not even have to run the docker compose file for quickly getting started). It's tracked in #45.
I have added a TODO there because the the session system needs refactoring (at least the permissive session). I'll quickly do that.
Refactored in
86ce57a9da. Does it look fine now?