Comment to 'Password encryption on UNA '
  • It isn't enough to add record into sys_accounts table, you need to add record to sys_profiles table as well to be able to login. Also you will need to add record to bx_persons_data and one more record to sys_profiles table to make profile publicly visible.

    So, minimal set of tables to display profiles and ability to login are sys_accountssys_profilesbx_persons_data.

    The relations between these tables are described here:
    https://github.com/unaio/una/wiki/User-Profiles

     

    • I understand it now. However I was not able to find the query or code / function call, which inserts data in all these three tables. E.g. When we register profile, we use 4 fields, Account Name, email, password and newsletters. Somewhere in code UNA might be passing these parameters to a function... which automatically call other functions and executes the queries. So I wanted to call the same function and pass these parameters, coming from other website to UNA, so rest of the things happen smoothly. I'm not PHP programmer, the guy who is working on it, is beginner in PHP too, so we would appreciate spoon feeding to get started.