TYPO3: Check if user already exists
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
TYPO3: Check if user already exists
Is there a way to check if a username (email) already exists before aimeos creates a new user?
I know TYPO3 got rid of the uniqueness of the username in the database, since you can have multiple sites on TYPO3 and on each site the same username should be able to be created.
Right now if a user doesnt login and in the checkout checks the box "Create new Account", aimeos will create a second Account with the same username (email). We noticed that Aimeos then does not send a new Email with the account information, since an account already exists with that username (E-Mail Adress), but it creates an acctual second account in the database.
I'm using:
TYPO3 10.4.21
Aimeos 21.7.2
PHP 7.4
Apache Webserver
I know TYPO3 got rid of the uniqueness of the username in the database, since you can have multiple sites on TYPO3 and on each site the same username should be able to be created.
Right now if a user doesnt login and in the checkout checks the box "Create new Account", aimeos will create a second Account with the same username (email). We noticed that Aimeos then does not send a new Email with the account information, since an account already exists with that username (E-Mail Adress), but it creates an acctual second account in the database.
I'm using:
TYPO3 10.4.21
Aimeos 21.7.2
PHP 7.4
Apache Webserver
Re: TYPO3: Check if user already exists
Aimeos does already try to find out if there's a user with the same e-mail address before creating a new user record:
https://github.com/aimeos/ai-client-htm ... d.php#L225
Do you use account names instead of the e-mail address in the "username" column?
https://github.com/aimeos/ai-client-htm ... d.php#L225
Do you use account names instead of the e-mail address in the "username" column?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star