When entering a text for the Magic Link Email Body (in admin settings -> setup -> app settings -> auth), adding any line breaks will cause a console error that prevents loading any app settings on the landing page.
The error is in this code:
The line break becomes \n, which seems to disrupts the json parse, I assume because it's not escaped. In Chrome, the error in the console is:
VM152:1 Uncaught SyntaxError: Bad control character in string literal in JSON at position 1029 (line 1 column 1030)
at JSON.parse ()
at (index):35:34
A workaround that I am using now is simply not having any line breaks in the text.
When entering a text for the Magic Link Email Body (in admin settings -> setup -> app settings -> auth), adding any line breaks will cause a console error that prevents loading any app settings on the landing page.
The error is in this code:
The line break becomes \n, which seems to disrupts the json parse, I assume because it's not escaped. In Chrome, the error in the console is:
VM152:1 Uncaught SyntaxError: Bad control character in string literal in JSON at position 1029 (line 1 column 1030) at JSON.parse ()
at (index):35:34
A workaround that I am using now is simply not having any line breaks in the text.