Update bundled LibAC-flutter
This commit is contained in:
parent
25f033dab4
commit
b56e9ca2db
5 changed files with 46 additions and 50 deletions
|
@ -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}) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue