Skip to content

Commit

Permalink
chore: enable autoescape
Browse files Browse the repository at this point in the history
  • Loading branch information
foosel committed Nov 5, 2024
1 parent 72c0c00 commit a7d5caa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions octoprint_mfa_totp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@ def get_template_configs(self):
},
]

def is_template_autoescaped(self):
return True

##~~ SimpleApiPlugin mixin

def on_api_get(self, request):
Expand Down

0 comments on commit a7d5caa

Please sign in to comment.