From eaec9e54ad120362cd4f8728db10c36c7a25a4d2 Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Fri, 28 Jul 2023 18:27:04 +0330 Subject: random password button for kcp , quic --- web/assets/js/model/xray.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/assets') diff --git a/web/assets/js/model/xray.js b/web/assets/js/model/xray.js index d8dc9f72..462cc125 100644 --- a/web/assets/js/model/xray.js +++ b/web/assets/js/model/xray.js @@ -425,7 +425,7 @@ class HttpStreamSettings extends XrayCommonClass { class QuicStreamSettings extends XrayCommonClass { constructor(security=VmessMethods.NONE, - key='', type='none') { + key=RandomUtil.randomSeq(10), type='none') { super(); this.security = security; this.key = key; -- cgit v1.2.3