Don't send 'totpSetup' in login info, it isn't used.

This commit is contained in:
Colin McDonald 2016-06-26 19:27:37 -04:00
parent 4101538202
commit 10e9ac5bea

View File

@ -257,7 +257,6 @@ public final class User {
result.put("user", this); result.put("user", this);
result.put("bestRank", ranks.get(0).getId()); result.put("bestRank", ranks.get(0).getId());
result.put("ranks", ranks.stream().map(Rank::getId).collect(Collectors.toList())); result.put("ranks", ranks.stream().map(Rank::getId).collect(Collectors.toList()));
result.put("totpSetup", getTotpSecret() != null);
if (activeMute != null) { if (activeMute != null) {
result.put("mute", activeMute); result.put("mute", activeMute);