UoM-NXCT / TAMS

Makes storing and accessing tomographic data easy and quick.
https://tams-nxct.readthedocs.io/
MIT License
1 stars 1 forks source link

Add login screen and ability to save/not save login details for automatic login #10

Closed tjkuson closed 2 years ago

tjkuson commented 2 years ago

Expected behaviour

When I start the program, I should have the option to login and, upon selection, automatically login upon startup using my saved login details.

Current behaviour

My login details (the username and password, most crucially) are always saved in the database.toml file. Each time I start the program, it loads the login details from that file and attempts to login. If the login details are empty or wrong, startup fails without the ability to input valid login information.

This is a bit confusing for users who don't know how the code works behind the scenes. It is also not good for people who don't want to save their login details.