How to redirect user to a specific page after they login if they belong to a certain role?

后端 未结 9 1166
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-11 04:26

We have certain users in our member list that have a role \"vendor\" attached to them. All such members are to be redirected to a certain page upon login. How can this be ac

9条回答
  •  爱一瞬间的悲伤
    2020-12-11 05:13

    There are modules that do this (besides Trigger+Actions), such as LoginDestination: http://drupal.org/project/login_destination. This Drupal forum post has a bit more info about it as well.

提交回复
热议问题