Make WordPress Core

Opened 13 months ago

Closed 8 months ago

#57940 closed defect (bug) (worksforme)

Got log out multiple times

Reported by: william13110's profile william13110 Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Login and Registration Keywords: reporter-feedback close
Focuses: Cc:

Description

Bug Report

I login to my admin account and click up keep me signed in options, but it sill log me out.

Environment

  • OS: Windows 10
  • Server: Apache (Linux)
  • PHP: 8.0.28
  • WordPress: 6.1.2-alpha-55489
  • Browser: Chrome 111.0.0.0
  • Theme: Scratchpad
  • Plugins:
    • Welcome Email Editor 5.0.5
    • Akismet Anti-Spam 5.0.2
    • Better Search Replace 1.4.2
    • iThemes Security 8.1.4
    • Flexible SSL for CloudFlare 1.3.1
    • Cloudflare 4.11.0
    • CM E-Mail Registration Blacklist 1.4.3
    • Code Snippets 3.3.0
    • Fix Image Rotation 2.2.2
    • Force Regenerate Thumbnails 2.1.1
    • ImageMagick Engine 1.7.7
    • Jetpack Boost 1.7.0
    • Jetpack 11.9.1
    • Web3Press by LikeCoin 3.0.3
    • Login Security Captcha 1.5.4
    • Image optimization service by Optimole 3.5.7
    • Patchstack Security 2.1.23
    • PublishPress Future 2.9.2
    • Postie 1.9.65
    • Really Simple SSL 6.2.2
    • NextScripts: Social Networks Auto-Poster 4.4.2
    • Stop XML-RPC Attacks 1.0.1
    • Theme Editor 2.7
    • An Official TraceMyIP Tracker with email alerts 2.49
    • UpdraftPlus - Backup/Restore 1.23.3
    • User IP and Location 2.2
    • User Role Editor 4.63.3
    • Super Page Cache for Cloudflare 4.7.3
    • WP Content Copy Protection with Color Design 2.3.4
    • WP-Sweep 1.1.5

Steps to Reproduce

  1. Log in
  2. Close the tab and Open tab again for a few hours or minutes
  3. The logout button become login button.

Expected Results

  1. Keep me log in

Actual Results

  1. keep log out.

Change History (3)

#1 @SergeyBiryukov
13 months ago

  • Component changed from General to Login and Registration
  • Keywords reporter-feedback added

Hi there, welcome back to WordPress Trac! Thanks for the report.

Does the issue still happen with all plugins disabled and a default theme (Twenty Twenty-Three) activated?

#2 @costdev
13 months ago

  • Version trunk deleted

#3 @rajinsharwar
8 months ago

  • Keywords close added
  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed

Hi @william13110, thanks for the ticket. The current default WordPress behaviour for logging a user out is to set a login session cookie that expires in 48 hours. If the “Remember Me” box is checked, WordPress will give you 14 days before forcing you to authenticate again. This might not be getting right on your end because of some isolated issues.

Please try following this external doc: https://muffingroup.com/blog/wordpress-session-expired/

Let me go ahead and close this ticket for now. In case any other users encounter the same, we can again re-open this, and work for a fix.

Note: See TracTickets for help on using tickets.