ui: do not log ticket into console
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
323515c24c
commit
c99af07876
|
@ -9,7 +9,7 @@ Ext.define('PBS.Utils', {
|
||||||
updateLoginData: function(data) {
|
updateLoginData: function(data) {
|
||||||
Proxmox.CSRFPreventionToken = data.CSRFPreventionToken;
|
Proxmox.CSRFPreventionToken = data.CSRFPreventionToken;
|
||||||
Proxmox.UserName = data.username;
|
Proxmox.UserName = data.username;
|
||||||
console.log(data.ticket);
|
//console.log(data.ticket);
|
||||||
// fixme: use secure flag once we have TLS
|
// fixme: use secure flag once we have TLS
|
||||||
//Ext.util.Cookies.set('PBSAuthCookie', data.ticket, null, '/', null, true );
|
//Ext.util.Cookies.set('PBSAuthCookie', data.ticket, null, '/', null, true );
|
||||||
Ext.util.Cookies.set('PBSAuthCookie', data.ticket, null, '/', null, false);
|
Ext.util.Cookies.set('PBSAuthCookie', data.ticket, null, '/', null, false);
|
||||||
|
|
Loading…
Reference in New Issue