Skip to content

Commit

Permalink
removes csrf protection warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Renaud11232 committed Apr 10, 2023
1 parent 9136f9d commit 66db945
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions octoprint_marlin_flasher/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,9 @@ def platformio_start_remote_agent(self):
def platformio_stop_remote_agent(self):
return self.__handle_validated_request(self.__platformio_validator.validate_stop_remote_agent, self.__platformio.stop_remote_agent, self.__platformio.check_setup_errors)

def is_blueprint_csrf_protected(self):
return True

def get_update_information(self):
return dict(
marlin_flasher=dict(
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugin_identifier = "marlin_flasher"
plugin_package = "octoprint_marlin_flasher"
plugin_name = "OctoPrint-Marlin-Flasher"
plugin_version = "1.0.7rc1"
plugin_version = "1.0.7rc2"
plugin_description = """Plugin that allows you to flash your printer with the latest Marlin version, or Arduino code"""
plugin_author = "Renaud Gaspard"
plugin_author_email = "[email protected]"
Expand Down

0 comments on commit 66db945

Please sign in to comment.