diff --git a/static/test.png b/static/test.png deleted file mode 100644 index bc07d5d..0000000 Binary files a/static/test.png and /dev/null differ diff --git a/templates/login.html b/templates/login.html index 2e934ed..1e177bb 100644 --- a/templates/login.html +++ b/templates/login.html @@ -61,16 +61,13 @@

Sign in to your return response.json(); }) .then(data => { - // Assuming data is an array with at least one element - const selectedOrg = data[0]; + const org = data[0]; - // Set the selectedOrg in local storage - localStorage.setItem('selectedOrg', selectedOrg); - console.log('Selected organization stored in local storage:', selectedOrg); + localStorage.setItem('org', org); + console.log('Selected organization stored in local storage:', org); }) .catch(error => { console.error('Error fetching data:', error); - // Handle fetch errors here }); }