Store API tokens encrypted in the database.
During the database migration a randomly generated key will be used encrypt the tokens if no ENCRYPTION_KEY environment variable was provided.
If the application is started without the presence of an ENCRYPTION_KEY (or if the key failed to decrypt the existing tokens), the UI will display a warning with further instructions.
* Allow to sign in with API tokens
* Test signing in with API tokens
* Add button to go back to login with credentials
* Add note about how to get API tokens
* Updated the danish language spelling errors
I've correct danish spelling errors and added a few missing translations.
Best.
* Include suggested changes
Co-authored-by: Adrian Kumpf <8999358+adriankumpf@users.noreply.github.com>
* Make update_version of the API available
* Add update version to the update tooltip
* Fix formatting
* Update translations to reflect the new tooltip
* Fix car controller test
* Add update_version to the mqtt documentation