joomla3.0 - Joomla user registration insert file -
i looking file in joomla 3, query inputs db values registration fields?
thanks in advance.
if follow code com_users
see loads , uses model usersmodeluser
(loaded /administrator/models/user.php ) in turn uses class juser
(loaded /libraries/joomla/user/user.php ).
if want create/alter users, should load , instance of usersmodeluser
, use it's load()
load existing user , it's save()
method store change or create new user entries.
by using usersmodeluser
, therefore juser
of niceties two-factor authentication (if it's configured) , correct hash password based on authentication system/plugins in use. generate random password if don't pass 1 in data used create new user.
Comments
Post a Comment