Skip to content

Commit

Permalink
chore: Fix bug create new session by otp
Browse files Browse the repository at this point in the history
  • Loading branch information
phuongntt-cystack committed Feb 6, 2024
1 parent 0d762ec commit 96aa6bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion locker_server/core/services/user_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -935,7 +935,7 @@ def user_session_by_otp(self, user: User, password: str, method: str, otp_code:
if save_device:
# Save device to device factor2 white list
device_factor2_create_data = {
"device_id": device_existed.device_id,
"device_id": device_obj.device_id,
"factor2_method_id": factor2_method.factor2_method_id
}
self.device_factor2_repository.create_device_factor2(
Expand Down

0 comments on commit 96aa6bb

Please sign in to comment.