d18edadd05
The `2FA.Enabled` field in `/auth`'s JSON output seems to be a bitmap of some sort, as the API returns `3` when both TOTP and U2F login is on. This commit changes some `Enabled == 1` checks to `Enabled != 0` to handle this case properly. Fixes #250 |
||
---|---|---|
.. | ||
auth.go |