[pve-devel] applied: [PATCH manager] fix #2747: ui: API token create: always reset base submit URL

Thomas Lamprecht t.lamprecht at proxmox.com
Mon May 18 18:53:45 CEST 2020


Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
 www/manager6/dc/TokenEdit.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www/manager6/dc/TokenEdit.js b/www/manager6/dc/TokenEdit.js
index 13f1dff8..f972c9f7 100644
--- a/www/manager6/dc/TokenEdit.js
+++ b/www/manager6/dc/TokenEdit.js
@@ -18,6 +18,7 @@ Ext.define('PVE.dc.TokenEdit', {
 	onGetValues: function(values) {
 	    let me = this;
 	    let win = me.up('pveDcTokenEdit');
+	    win.url = '/api2/extjs/access/users/';
 	    if (win.isCreate) {
 		let uid = encodeURIComponent(values.userid);
 		let tid = encodeURIComponent(values.tokenid);
-- 
2.20.1





More information about the pve-devel mailing list