Skip to content

Commit 0417ef1

Browse files
committed
auth type fix
1 parent 03bd92c commit 0417ef1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/features/auth/presentation/controller/hive_auth_controller.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ class HiveAuthController extends HiveTransactionController {
9797
decryptionResponse) async {
9898
UserAuthModel<HiveAuthModel> data = UserAuthModel(
9999
accountName: accountName,
100-
authType: AuthType.hiveKeyChain,
100+
authType:
101+
ishiveKeyChainMethod ? AuthType.hiveKeyChain : AuthType.hiveAuth,
101102
imageUploadToken: decryptionResponse.data!.hsToken!,
102103
auth: HiveAuthModel(
103104
authKey: authKey!,

0 commit comments

Comments
 (0)