Login information that you use to log in to other computers for network shares are stored in Windows's Credential Manager and cached in applications such as File Manager. This avoids the need for you to log in every time you want to access the shared folder.
If you want to log in to the same computer using different user, or if the password of the user that you connect to has changed, you have the option to edit or delete the stored credential from the Credential Manager.
It might take a while for the credential to be removed from caches. You can either wait or reboot the system.
Comment anonymously. Login not required.