Open fulgored opened 2 years ago
Change the CREDENTIAL.persist value for managing other value than CRED_PERSIST_ENTERPRISE (https://docs.microsoft.com/en-us/windows/win32/api/wincred/ns-wincred-credentiala#:~:text=CRED_PERSIST_LOCAL_MACHINE)
For security reasons, it may be interesting to link the value only to the workstation and not to the account.
The current value is hard coded
The solution could be adding a facultatif parametre on the JS side to the setPassword function
Summary
Change the CREDENTIAL.persist value for managing other value than CRED_PERSIST_ENTERPRISE (https://docs.microsoft.com/en-us/windows/win32/api/wincred/ns-wincred-credentiala#:~:text=CRED_PERSIST_LOCAL_MACHINE)
Motivation
For security reasons, it may be interesting to link the value only to the workstation and not to the account.
Describe alternatives you've considered
The current value is hard coded
Additional context
The solution could be adding a facultatif parametre on the JS side to the setPassword function