api2/access.rs: add ticket api
This commit is contained in:
@ -6,6 +6,12 @@ console.log("Starting Backup Server GUI");
|
||||
Ext.define('PBS.Utils', {
|
||||
singleton: true,
|
||||
|
||||
updateLoginData: function(data) {
|
||||
Proxmox.CSRFPreventionToken = data.CSRFPreventionToken;
|
||||
Proxmox.UserName = data.username;
|
||||
Ext.util.Cookies.set('PBSAuthCookie', data.ticket, null, '/', null, true );
|
||||
},
|
||||
|
||||
constructor: function() {
|
||||
var me = this;
|
||||
|
||||
|
Reference in New Issue
Block a user