diff --git a/public/script.js b/public/script.js index c9447c2fa..c7d5270c3 100644 --- a/public/script.js +++ b/public/script.js @@ -666,13 +666,15 @@ async function getSystemMessages() { registerPromptManagerMigration(); $(document).ajaxError(function myErrorHandler(_, xhr) { + // Cohee: CSRF doesn't error out in multiple tabs anymore, so this is unnecessary + /* if (xhr.status == 403) { toastr.warning( 'doubleCsrf errors in console are NORMAL in this case. If you want to run ST in multiple tabs, start the server with --disableCsrf option.', 'Looks like you\'ve opened SillyTavern in another browser tab', { timeOut: 0, extendedTimeOut: 0, preventDuplicates: true }, ); - } + } */ }); async function getClientVersion() { diff --git a/public/scripts/templates/changePassword.html b/public/scripts/templates/changePassword.html index bbebf088f..b5ed6ecab 100644 --- a/public/scripts/templates/changePassword.html +++ b/public/scripts/templates/changePassword.html @@ -1,7 +1,7 @@