Skip to main content

Php code for "Email will be username"

More
3 years 1 month ago - 3 years 1 month ago #354507 by gerryna09
-- HikaShop version -- : 4.7.5
-- HikaMarket version -- : 4.1.1
-- Joomla version -- : 4.3.3
-- PHP version -- : 8.0.29

Market options > Registration options > Email will be username > YES

In the registration.php file there is the condition if($this->config->get('registration_email_is_username', 0) == 0)

In that php file there is the code that "copy" the value of the email in the username field ??

Thanks
Last edit: 3 years 1 month ago by gerryna09.

Please Log in or Create an account to join the conversation.

More
3 years 1 month ago #354519 by Jerome
Hello,

When the setting is enabled, the "username" field is not displayed during the registration.
The HikaShop/Joomla registration process will use the email as username.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Please Log in or Create an account to join the conversation.

More
3 years 1 month ago #354530 by gerryna09
Hi Jerome, it's all clear to me :)

I would like to know in which php file there is the code that "copy" the value of the email in the username field

Please Log in or Create an account to join the conversation.

More
3 years 1 month ago #354535 by Jerome
Hello,

administrator/components/com_hikamarket/classes/user.php
function : register

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Please Log in or Create an account to join the conversation.

Moderators: Obsidev
Time to create page: 0.201 seconds
Powered by Kunena Forum