| 开发者 | aryanjasala |
|---|---|
| 更新时间 | 2026年11月30日 02:56 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
wp axle-sessions list [--user=<user>] lists active sessions with their handles.wp axle-sessions revoke <handle> signs out one session.wp axle-sessions sign-out <user> signs a user out everywhere.wp axle-sessions prune removes expired sessions and signs out idle ones.wp axle-sessions history <user> shows when an account signed in and how each session ended.wp axle-sessions reports lists "This wasn't me" reports.wp axle-sessions sign-out-everyone signs every user out, with exclusions.wp axle-sessions shared lists accounts that look shared, with the reasons.wp axle-sessions policies and set-policy <role> read and change the per-role policies.wp axle-sessions settings reads and changes the other settings.On its next request. The session is deleted at once, so the next page it loads, or the next background check from an open admin tab, lands on the login screen.
Any page or REST request made while signed in. The Heartbeat checks an open admin tab makes every minute do not count, so a forgotten tab still times out.
Nothing until they sign in again. The limit is applied at login. An idle timeout applies to existing sessions from their next request.
No. After they enter the right password (and the Two Factor code, if they use it), they see their other devices and can sign one out to get in. This is offered to accounts that use Two Factor, and to accounts that cannot manage options or promote users. An administrator without Two Factor is never offered it, so a stolen password alone cannot push out their session. The list works once, in that browser, for 10 minutes. You can turn this off in the Policies tab. Then a refusal is final until the old session ends or an administrator signs it out. Signing out the oldest session stays the default.
Yes. It revokes every application password on the account, and so does "Sign everyone out" (except yours, so you can finish the job). A person can make new ones after signing in again.
Yes, for plugins that sign people in through WordPress's own login functions. A plugin that sets the login cookie itself cannot be refused before the session exists, so in refuse mode that session is ended right after it starts.
From the sessions it already has: the network of each IP address, the browser and device, and when each session was last used. By default it flags more than two networks at the same time, two computers (or two phones, or two tablets) on different networks at the same time, or more than four different devices in a day. A laptop on Wi-Fi and a phone on mobile data are one person, so they are not flagged. Developers can change every limit with the axle_sessions_shared_login_rules filter, and add countries from their own lookup.
No. By default it only shows a badge. Signing out every session but the newest is a choice per role, and a login is never refused. For accounts meant to be shared, such as a kiosk, set the role to "Do not check" or use the axle_sessions_shared_login_exempt filter.
The link holds a random token, and only a hash of it is stored. It is tied to one account and one session, works once, and expires after 7 days. Opening it only shows a page, so mail scanners that follow links do nothing. A wrong or used link gets the same page, and many wrong guesses from one address are slowed down. You can turn it off in the settings.
An incident is a bad time for a mass email. People who are signed out see a message on the login screen. If you also require new passwords, they use "Lost your password?". Your own password is left alone so you can still sign in.
Yes. Users and their sessions are shared by the network, so the all-sessions screen and the settings live in Network Admin, and only network administrators change the settings. Device memory, sign-in history and reports are kept per user for the whole network. The hourly clean-up runs from the main site. Policies follow the roles a user has on the site they are using. People who may not edit other users see only their own sessions, on their profile.
No. The plugin reads sessions from user meta, where WordPress keeps them by default. When another plugin moves them, the screens and Site Health say so.