From bf5a66f798e0cac44ee64ca21e247acd93166769 Mon Sep 17 00:00:00 2001 From: Podul Date: Sun, 24 Nov 2019 18:24:22 +0800 Subject: [PATCH] =?UTF-8?q?password=20=E4=B8=BA=20nil=20=E6=97=B6=E4=BC=9A?= =?UTF-8?q?=E5=B4=A9=E6=BA=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ShadowsocksX-NG/Utils.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ShadowsocksX-NG/Utils.m b/ShadowsocksX-NG/Utils.m index c7922a86..8ea2d3c1 100644 --- a/ShadowsocksX-NG/Utils.m +++ b/ShadowsocksX-NG/Utils.m @@ -253,7 +253,7 @@ void ScanQRCodeOnScreen() { return @{@"ServerHost":ip, @"ServerPort": @([port integerValue]), @"Method": encryption, - @"Password": password, + @"Password": password ?: @"", @"ssrObfs":ssrObfs, @"ssrObfsParam":ssrObfsParam, @"ssrProtocol":ssrProtocol,