Don't send 'totpSetup' in login info, it isn't used.
This commit is contained in:
parent
4101538202
commit
10e9ac5bea
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user