Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] authored and consideRatio committed Sep 17, 2024
1 parent 32d3843 commit 2760f19
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nativeauthenticator/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,9 @@ async def post(self):
user_info = {
"username": self.get_body_argument("username", strip=False),
"password": self.get_body_argument("signup_password", strip=False),
"password_confirmation": self.get_body_argument("signup_password_confirmation", strip=False),
"password_confirmation": self.get_body_argument(
"signup_password_confirmation", strip=False
),
"email": self.get_body_argument("email", "", strip=False),
"has_2fa": bool(self.get_body_argument("2fa", "", strip=False)),
}
Expand Down

0 comments on commit 2760f19

Please sign in to comment.