fix: fix network mount authentication error handling #248
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixed authentication error handling in network mount operations
by adding proper error code checking for authentication failures.
Previously, when saved login credentials failed during mount attempts,
the system would not properly detect authentication errors and would
proceed to prompt the user for credentials unnecessarily. Now correctly
identifies authentication failures (error code -8) and returns
appropriate error information.
Log: Fixed network drive mount authentication error detection
Influence:
failure
fix: 修复网络挂载认证错误处理
修复了网络挂载操作中的认证错误处理问题,增加了对认证失败错误码的正确检
查。之前当保存的登录凭据在挂载尝试中失败时,系统无法正确检测认证错误,会
不必要地提示用户输入凭据。现在能够正确识别认证失败(错误码-8)并返回适当
的错误信息。
Log: 修复网络驱动器挂载认证错误检测问题
Influence:
BUG: https://pms.uniontech.com/bug-view-334197.html