Skip to content

Commit

Permalink
Merge pull request #81 from ImMin5/master
Browse files Browse the repository at this point in the history
Fix typo for indent
  • Loading branch information
ImMin5 authored Nov 20, 2023
2 parents d953b70 + ddf0b21 commit b047a56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/spaceone/identity/service/user_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -402,8 +402,8 @@ def confirm_mfa(self, params):
elif user_mfa.get('state', 'DISABLED') == 'DISABLED':
user_mfa['state'] = 'ENABLED'
user_vo = self.user_mgr.update_user_by_vo({'mfa': user_mfa}, user_vo)
else:
raise ERROR_INVALID_VERIFY_CODE(verify_code=verify_code)
else:
raise ERROR_INVALID_VERIFY_CODE(verify_code=verify_code)

return user_vo

Expand Down

0 comments on commit b047a56

Please sign in to comment.