Jump to content
  • 0

User Specific Redirects from Stand Alone Login Screens



1 answer to this question

Recommended Posts

  • 0

You should be able to send them to different using this script: 

if("[@authfield:Position]" == "Admin"){ 
window.location = "http://www.mysite.com/manager.html"; } 
else if ("[@authfield:Position]" == "User"){ 
window.location = "http://www.mysite.com/staff.html"; } 
else{ window.location = "http://www.mysite.com/other"; } 

 Make sure you have replaced Position with your field name which holds Admin/User.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...