fix cookie setup (use correct name)

This commit is contained in:
Dietmar Maurer 2017-01-30 12:10:56 +01:00
parent e9b7ca9633
commit 757cc58a6c

View File

@ -5,8 +5,8 @@ Ext.ns('Proxmox.Setup');
function gettext(buf) { return buf; }
if (!Ext.isDefined(Proxmox.Setup.auth_cookie)) {
trow "Proxmox library not initialize";
if (!Ext.isDefined(Proxmox.Setup.auth_cookie_name)) {
throw "Proxmox library not initialized";
}
// avoid errors related to Accessible Rich Internet Applications