Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
SlimRG authored Apr 23, 2024
1 parent 09d0337 commit 10e4f06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moonraker/components/authorization.py
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ async def _handle_password_reset(self,
self._sync_user(username)
if (self.enable_totp):
self.totp_secrets[username] = {
'secret': pyotp.random_base32(),
'secret': pyotp.random_base32(),
'is_activated': False
}
self.totp_secret_db.sync(self.totp_secrets)
Expand Down

0 comments on commit 10e4f06

Please sign in to comment.