Update initgui.js

This commit is contained in:
Nariman Jelveh 2024-06-20 19:38:47 -07:00
parent 2d4f5778a2
commit 88ce871601

View File

@ -228,7 +228,6 @@ window.initgui = async function(options){
"method": "POST",
}).then(response => response.json())
.then(async data => {
if(data.success){
if(data.email && data.email !== window.user.email){
UIAlert({
message: 'You are not authorized to view this link.'
@ -239,7 +238,6 @@ window.initgui = async function(options){
message: 'You are authorized to view this link.'
});
}
}
}).catch(error => {
console.error('Error:', error);
})