Log in users with admin-made username and password

Dear Bubble users and helpers,

I am currently stuck on logging users using users with a username and password that I would have personally determined. At the moment, users register using an email address and their password is their unique ID.

image

However, I would like to: (i) change the password of the user to, for example “1234”, which would be based on the “SetPassword” value (ii) set their username to, for example “abcd”, which would be based on an edited “Username” below and lastly (iii) allow them to log in using this new username (not email) and password.

I have tried to follow the indications of this topic, but didn’t manage to achieve the expected result.

Could anyone provide some help?

Thanks in advance,
Arnaud