Page 1 of 1

Two Account Types

Posted: Mon Jul 13, 2015 3:27 am
by Aberay Shen

I would like my app to have two account types: Customer and Seller. I am trying to make it so that when someone logs in it will automatically redirect them to the correct landing page (since the customer and seller will have different ones). How would I go about doing this? I made a variable for account type when they sign up, but I'm not sure how to incorporate this into the login process.


Two Account Types

Posted: Mon Jul 13, 2015 6:03 am
by Evgene Karachevtsev

Hello Aberay,

Unfortunately custom app logic is outside the scope of our support but you may try to implement the current logic:
You would need to create one more column in the user collection in which will be specified is this user a seller or a customer. And when a user logs in you would need to read this field in a variable and make a redirect to desired page according to this variable.