ui: do not log ticket into console

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2019-12-17 15:44:34 +01:00
parent 323515c24c
commit c99af07876
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ Ext.define('PBS.Utils', {
updateLoginData: function(data) {
Proxmox.CSRFPreventionToken = data.CSRFPreventionToken;
Proxmox.UserName = data.username;
console.log(data.ticket);
//console.log(data.ticket);
// 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, false);