#1141 Check that user is logged in before changing TOTP key

- Use PlayerCache to check that user is logged in where appropriate
- Add log statements
This commit is contained in:
ljacqu
2018-05-13 18:49:40 +02:00
parent 6f2f7a73af
commit 729c567dd5
8 changed files with 244 additions and 35 deletions
@@ -165,6 +165,10 @@ public class PlayerAuth {
return totpKey;
}
public void setTotpKey(String totpKey) {
this.totpKey = totpKey;
}
@Override
public boolean equals(Object obj) {
if (!(obj instanceof PlayerAuth)) {