Matt DeVillier 1c6f623c25 gui-init: update $TOTP after generating new secret or resetting TPM
After updating/flashing a new ROM, a new TOTP secret must be generated,
but the $TOTP variable needs to be updated afterwards, otherwise it
will show the previous failure which led to the new secret being
created.

Fix this by re-calling update_totp() after generating a new secret
or resetting the TPM.

Signed-off-by: Matt DeVillier <matt.devillier@puri.sm>
2021-10-15 14:42:15 -04:00
..
2017-04-05 17:59:49 -04:00
2017-09-02 14:13:29 -04:00
2021-08-07 17:40:13 +00:00
2020-05-15 18:52:11 +01:00