Files
sendico/frontend/pweb/lib/services/auth.dart
2025-11-13 15:06:15 +03:00

13 lines
267 B
Dart

class AuthenticationService {
Future<bool> verifyTwoFactorCode(String code) async {
await Future.delayed(const Duration(seconds: 2));
if (code == '000000') {
return true;
} else {
throw Exception('Wrong Code'); //TODO Localize
}
}
}