redirect - How can I force the user to log in, even if they're already authenticated?

I am creating a link to a Wordpress page. In this scenario, multiple users may use the same machine and get confused abo

I am creating a link to a Wordpress page. In this scenario, multiple users may use the same machine and get confused about who is logged in, so every time they follow the link they must be forced to log in again.

(This is a convenience/UX issue, not a security issue, so the fact that they could easily bypass the login is not a concern.)

So the link should:

  1. Force them to log in again
  2. Then take them to the page

I have tried

.php?redirect_to=;reauth=1

but it seems I can't rely on reauth=1 to force the login.

Is there another way to do this?

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745667910a4639226.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信