Update bundled LibAC-flutter

This commit is contained in:
zontreck 2025-03-15 02:28:29 -07:00
parent 25f033dab4
commit b56e9ca2db
5 changed files with 46 additions and 50 deletions

View file

@ -29,10 +29,11 @@ class DBUser {
late String TOTPSecret;
DBUser({required this.sName, required this.ID, String? totp}) {
if (totp == null)
if (totp == null) {
TOTPSecret = generateTOTPSecret();
else
TOTPSecret = totp!;
} else {
TOTPSecret = totp;
}
}
factory DBUser.load({required CompoundTag serialized}) {