stellar/stellar-wallet — pull request #47 by nullstyle (2014-11-03 20:01:47+00:00)
Title: Clear totpDisabledAt properly when resetting the totpKey

This PR fixes two bugs (and one lint error):

1. /v2/totp/enable was not properly using `isTotpEnabled` meaning that you could not reset a disabled totp key
2. /v2/totp/enable was not clearing totpDisabledAt when setting the new key, meaning that it would be instantly disabled