terminal42 / contao-mailusername

MIT License
7 stars 5 forks source link

Registering does not set the username property #18

Closed plorenz-etes closed 4 years ago

plorenz-etes commented 4 years ago

After installation, I've set up both a registration and a login form. After registering, logging in with email and password doesn't work - the error message says that the credentials are unknown. Looking at the database I could see that tl_member.username is set to NULL.

However, if I edit the member entry via Contao's backend (e.g. for changing the password), the username column is set to the given email address and afterwards, logging in with the same credentials starts to work.

Do you have any idea what could be wrong here? I'm on Contao 4.9.

plorenz-etes commented 4 years ago

Well, I found out that this was probably my fault because of another invalid hook - sorry for the false report!