This branch adds automatic generation of the required TOTP code by storing the Secret Key exported from an authenticator and using it to generate the required code. While this defeats the purpose of Two Factor Authentication, it is much more comfortable to use.
The possibility to use an OTP generated elsewhere is also given.
Also, this branch postpones the storing of credentials only after the login has taken place, so that only verified information is saved.
This branch adds automatic generation of the required TOTP code by storing the Secret Key exported from an authenticator and using it to generate the required code. While this defeats the purpose of Two Factor Authentication, it is much more comfortable to use. The possibility to use an OTP generated elsewhere is also given. Also, this branch postpones the storing of credentials only after the login has taken place, so that only verified information is saved.