mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 08:09:00 +08:00
Fix comment
The Windows Credential Manager actually fails if the password is more than 1024 bits long. CURA-7180
This commit is contained in:
parent
dbb15b7c71
commit
fb5d59db32
@ -41,7 +41,7 @@ class KeyringAttribute:
|
|||||||
setattr(instance, self._name, value)
|
setattr(instance, self._name, value)
|
||||||
Logger.logException("w", "No keyring backend present")
|
Logger.logException("w", "No keyring backend present")
|
||||||
except BaseException as e:
|
except BaseException as e:
|
||||||
# A BaseException can occur in Windows when the keyring attempts to write a token longer than 256
|
# A BaseException can occur in Windows when the keyring attempts to write a token longer than 1024
|
||||||
# characters in the Windows Credentials Manager.
|
# characters in the Windows Credentials Manager.
|
||||||
self._store_secure = False
|
self._store_secure = False
|
||||||
setattr(instance, self._name, value)
|
setattr(instance, self._name, value)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user