Skip to content

Commit

Permalink
style(authentication): 💡 Removed useless TODOs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chralu committed Jul 16, 2024
1 parent a918789 commit c3677a0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions lib/infrastructure/datasources/vault/vault.dart
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ class Vault {
_logger.info(
'Abort : Vault not initialized.',
);
//TODO(Chralu): stockage non initialisé
throw const Failure.invalidValue();
}

Expand Down Expand Up @@ -139,7 +138,6 @@ class Vault {
_logger.info(
'Abort : Vault not initialized.',
);
// TODO(Chralu): Replace by a "invalid request" failure
throw const Failure.locked();
}

Expand Down
3 changes: 1 addition & 2 deletions lib/router/router.dart
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,7 @@ class RoutesPath {
child: SetPassword(
header: extra['header'] as String?,
description: extra['description'] as String?,
challenge: extra['challenge']
as Uint8List, //TODO(Chralu): set that parameter when navigating
challenge: extra['challenge'] as Uint8List,
),
);
},
Expand Down

0 comments on commit c3677a0

Please sign in to comment.