hello
I have 2 CB login module on my site:
- Module1 used for user who login from default site/default template
- Module2 used for user who login from mobile site/mobile template
Each module is of course published on different template position.
I have also 2 usergroup and according of group, I want redirect user to specific page:
- Group A redirect to
www.site.com/group-a
- Group B redirect to
www.site.com/group-b
For redirect users, I can use Auto-Action, but the problem is I would like redirect user of group B to their related page only when they login from default template. If they login from mobile template, I would like redirect to again another page.
In CB module setting is possible to set the "afterlogin" URL but this will be used for all users and not only for specific group. In Auto-Action nothing seem to be available for differentiate who login from default or mobile template..
I don't see how to set a conditions for this case..
It is a way for do that ?
thank