This topic is locked
[SOLVED]

Manual User Registration

4/5/2021 2:15:03 PM
PHPRunner General questions
L
Lance Spurgeon author

I currently have setup in PHPRunner not to allow manual registration by users. I would like the individual admins to do that manually do via their Saas DB instance.
How can I trigger the email activation link to the registration by using the custom user registration page?

K
klyle 4/5/2021

Could you possibly just give them access to add records to the Users table? Sorry if I misunderstood compeletely.

Sergey Kornilov admin 4/5/2021

This can be done. My suggestion is to enable registration page, register a temporary account and see what kind of email is being sent. Then check the login table in the database to see what fields where populated. Usually there will be some sort of hash/reset token that is nothing but a random set of characters that will appear in both database and in the link sent to the end user.

This should be enough for you to mimic the same behaviour in your own code.

L
Lance Spurgeon author 4/5/2021

i will try that shoulds logical enough
@klyle: with multi tenancy db you wouldn't want each user to register and pay seperatly so giving the tenancy db admin the permission to add their users seperate logins simplifies the process