]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/UserIdentification/PwdCredentialProviderDxe/PwdCredentialProvider.c
Update UID drivers to align with latest UEFI spec 2.3.1 errata A.
[mirror_edk2.git] / SecurityPkg / UserIdentification / PwdCredentialProviderDxe / PwdCredentialProvider.c
index ad1521040c32f0c162221f7d6f734ebc33bad310..9d2e622f1338effee846aafc66faefe7c914fa22 100644 (file)
@@ -1061,17 +1061,8 @@ CredentialUser (
     }\r
   }\r
 \r
-  //\r
-  // The User's password doesn't match the input password.\r
-  // Return the user ID whose password matches the input password.\r
-  //\r
-  CopyMem (\r
-    Identifier,\r
-    &mPwdTable->UserInfo[mPwdTable->ValidIndex - 1].UserId,\r
-    sizeof (EFI_USER_INFO_IDENTIFIER)\r
-    );\r
   FreePool (UserInfo);  \r
-  return EFI_SUCCESS;\r
+  return EFI_NOT_READY;\r
 }\r
 \r
 \r