mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
fix(core): Some more browser-id related fixes (no-changelog) (#9102)
This commit is contained in:
committed by
GitHub
parent
3e231dbfe6
commit
a7108d14f9
@@ -41,7 +41,7 @@ export function createPage({
|
||||
? loadPreviousSession
|
||||
: 'notSupported';
|
||||
|
||||
return `<doctype html>
|
||||
return `<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
@@ -60,7 +60,8 @@ export function createPage({
|
||||
if (authentication === 'n8nUserAuth') {
|
||||
try {
|
||||
const response = await fetch('/rest/login', {
|
||||
method: 'GET'
|
||||
method: 'GET',
|
||||
headers: { 'browser-id': localStorage.getItem('n8n-browserId') }
|
||||
});
|
||||
|
||||
if (response.status !== 200) {
|
||||
|
||||
Reference in New Issue
Block a user