Skip to content

Commit

Permalink
Explicitly activate CSRF protection. Fixes #101
Browse files Browse the repository at this point in the history
  • Loading branch information
WildRikku committed Aug 31, 2024
1 parent eca91ff commit 33031d1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions octoprint_printhistory/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,9 @@ def factory_serial_handler(self, comm_instance, port, baudrate, read_timeout):
self._comm = comm_instance
return None

def is_blueprint_csrf_protected(self):
return True

__plugin_name__ = "Print History Plugin"

def __plugin_load__():
Expand Down

0 comments on commit 33031d1

Please sign in to comment.