mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-15 03:58:26 +00:00
fix #2747: ui: API token create: always reset base submit URL
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
2abb52cb02
commit
fbfe1e39d4
@ -18,6 +18,7 @@ Ext.define('PVE.dc.TokenEdit', {
|
|||||||
onGetValues: function(values) {
|
onGetValues: function(values) {
|
||||||
let me = this;
|
let me = this;
|
||||||
let win = me.up('pveDcTokenEdit');
|
let win = me.up('pveDcTokenEdit');
|
||||||
|
win.url = '/api2/extjs/access/users/';
|
||||||
if (win.isCreate) {
|
if (win.isCreate) {
|
||||||
let uid = encodeURIComponent(values.userid);
|
let uid = encodeURIComponent(values.userid);
|
||||||
let tid = encodeURIComponent(values.tokenid);
|
let tid = encodeURIComponent(values.tokenid);
|
||||||
|
Loading…
Reference in New Issue
Block a user