Remove leftover logging from debugging.

This commit is contained in:
Dain Nilsson 2022-01-21 11:30:23 +01:00
parent 276005b868
commit ac8cf7a461
No known key found for this signature in database
GPG Key ID: F04367096FBA95E8

View File

@ -99,11 +99,8 @@ class OathStateNotifier extends StateNotifier<OathState?> {
}
Future<bool> _checkPassword(String password) async {
log.info('Calling check password $password');
var result =
await _session.command('derive', params: {'password': password});
log.info(
'Check ${_ref.read(_lockKeyProvider(_session.devicePath))} == ${result['key']}');
return _ref.read(_lockKeyProvider(_session.devicePath)) == result['key'];
}