[bailing] fix bug of passport secrity

This commit is contained in:
EmArrow
2024-02-29 15:03:42 +08:00
parent a38a9a19ba
commit 00c1147dd1

View File

@@ -264,7 +264,7 @@ class HttpDnsStartUp : AndroidStartup<Boolean>() {
context?.let {
val authStatus =
SharedPrefsMgr.getInstance()
.getBoolean("securityKey-${DebugConfig.getNetMode()}", false)
.getBoolean("securityKeyStatus-${DebugConfig.getNetMode()}", false)
if (authStatus) {
// clientConfig设置auth值并带入header
clientConfig.authPubKey = SharedPrefsMgr.getInstance()
@@ -294,7 +294,7 @@ class HttpDnsStartUp : AndroidStartup<Boolean>() {
securityKey
)
SharedPrefsMgr.getInstance()
.putBoolean("securityKey-${DebugConfig.getNetMode()}", true)
.putBoolean("securityKeyStatus-${DebugConfig.getNetMode()}", true)
CallerCloudListenerManager.invokeCloudCrtFile(securityKey, rootKey)
}