[bailing] fix bug of passport secrity
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user