alan-turing-institute / DTBase

A starting point from which digital twins can be developed.
MIT License
11 stars 4 forks source link

Add Auto-login to frontend #164

Closed mhauru closed 11 months ago

mhauru commented 11 months ago

This makes it such that if you run the frontend with DT_CONFIG_MODE=Auto-login ./run.sh you will always be automatically logged in as the default user (assuming one exists). Very handy for development.

codecov-commenter commented 11 months ago

Codecov Report

Attention: 11 lines in your changes are missing coverage. Please review.

Comparison is base (edf223f) 86.87% compared to head (1e68f82) 86.67%.

:exclamation: Current head 1e68f82 differs from pull request most recent head 82fd435. Consider uploading reports for the commit 82fd435 to get more accurate results

Files Patch % Lines
dtbase/webapp/app/__init__.py 31.25% 11 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #164 +/- ## ========================================== - Coverage 86.87% 86.67% -0.20% ========================================== Files 70 70 Lines 4745 4759 +14 ========================================== + Hits 4122 4125 +3 - Misses 623 634 +11 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.