Skip to content

Commit 6acda63

Browse files
authored
Save template authentication error
1 parent 29ac2ec commit 6acda63

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

index.php

+2
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,8 @@
147147

148148
# Application in Demo mode (read-only)
149149
if(!SAVE_ENABLED or !$authenticated) {
150+
if($file_mode == "template_save") die("Could not save template because authentication is invalid.");
151+
150152
$file_mode = "view";
151153
$file_readonly = true;
152154
$message .= "Demo mode - files are just read only\\n";

0 commit comments

Comments
 (0)