Skip to content

Commit 6ce72d0

Browse files
committed
Fix spaces in Anti-CSRF expired message
1 parent 94b3697 commit 6ce72d0

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/templates/Document/Edit.phtml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ switch ($this->getContext()->error) {
1919
$message = "Cannot find document by that id.";
2020
break;
2121
case "INVALID_CSRF":
22-
$message = "The Cross-Site Request Forgery token was invalid. Either the"
23-
. "edit document form expired, or this may have been a malicious attempt"
24-
. "to create a document.";
22+
$message = "The Cross-Site Request Forgery token was invalid. Either the "
23+
. "edit document form expired, or this may have been a malicious "
24+
. "attempt to create a document.";
2525
break;
2626
case "EMPTY_TITLE":
2727
$message = "The title of the document is required.";

src/templates/Packet/Edit.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ switch ($this->getContext()->error) {
1919
$message = "Cannot find packet by that id.";
2020
break;
2121
case "INVALID_CSRF":
22-
$message = "The Cross-Site Request Forgery token was invalid. Either the"
23-
. "edit packet form expired, or this may have been a malicious attempt"
22+
$message = "The Cross-Site Request Forgery token was invalid. Either the "
23+
. "edit packet form expired, or this may have been a malicious attempt "
2424
. "to create a packet.";
2525
break;
2626
case "EMPTY_NAME":

0 commit comments

Comments
 (0)