admin管理员组

文章数量:1435859

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?

本文标签: redirectHow can I force the user to log ineven if they39re already authenticated