Bug: PromptLogin fills a text-input with email of another of my google-accounts.

My code calls promtLogin() on a button click.

Problem: When I login with my admin account, on my site, I come back on the current page, and In a text-input, the email-address of my other test-gmail-account is filled in, which I really didn’t do in code. Even more, I only set the text-input once in my code somewhere else, with an empty string.

I already tried to change the text-input-element-id to something more specific, but still it didn’t solve the problem. Before, the text-input-element-id was “input”. Maybe this could be a reason of the bug, behind the scenes?

When I do the same by logging in my test-gmail-account, it is not filled in, so that approach works normal.

Helps if you show what code you have actually used.
https://www.wix.com/corvid/reference/wix-users.html#promptLogin

You can see an example of promptLogin being used in the Wix tutorial for Member Profile as shown here.
https://support.wix.com/en/article/corvid-tutorial-building-your-own-members-area

// rest of code//
// prompt the user to log in
wixUsers.promptLogin( {"mode": "login"} )
.then( (user) => {
userId = user.id;
return user.getEmail();
//rest of code//