Improve text related to Autologin enablement

This commit is contained in:
Manuel Thalmann 2024-01-17 14:08:31 +01:00
parent d15563c400
commit b107cdc562

View file

@ -127,7 +127,7 @@ function Enable-PersonalUserAutologon([Context] $context)
while ($true) while ($true)
{ {
$password = Read-Host "Please enter the password of your user" -MaskInput; $password = Read-Host "Please enter the password of your Microsoft Account" -MaskInput;
if ($principalContext.ValidateCredentials($context.UserName, $password)) if ($principalContext.ValidateCredentials($context.UserName, $password))
{ {