Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

Keeps forcing me to login

Simple Membership Plugin › Forums › Simple Membership Plugin › Keeps forcing me to login

  • This topic has 11 replies, 7 voices, and was last updated 10 years ago by admin.
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • April 21, 2015 at 12:40 am #1507
    sbradshaw
    Participant

    I set the membership levels and assigned users. The Plugin works perfectly …. until I attempt to change the password from the front end. After I do that, and use the new password genenerated, it redirects me to my ‘account page’ that says this:

    Logged in as
    sbradshaw
    Account Status
    Active
    Membership
    Member
    Account Expiry
    Never
    Logout

    And when I visit a protected page, it asks me to login again!

    This only happens after I reset the password.

    I wonder if it’s a caching issue? I have WP Super Cache installed … any ideas on how to fix this?

    April 21, 2015 at 1:26 am #1508
    sbradshaw
    Participant

    UPDATE: I disabled my cache plugin and still having the same problem

    April 21, 2015 at 1:27 am #1509
    sbradshaw
    Participant

    http://twilightquiltguild.ca/members-only/
    U: sbradshaw
    P: 00189366

    Those are my login details if you want to try and replicate the problem, you can change my password

    April 21, 2015 at 3:08 am #1511
    nur
    Participant

    hi,
    when a user logs in, this plugin creates an encrypted digest message using user name, password and expiration time. so if you change password while logged in, it finds that the stored digest and the newly generated digest (with new password) doesn’t match and asks you to login again.

    as a temporary solution, if you change password then just logout. it will clear old digest. then login with new password. you should be fine. I will this in my todo list and work out a better, more use-friendly flow for this.

    thanks for your input.

    April 21, 2015 at 1:41 pm #1540
    sbradshaw
    Participant

    Thanks so much, Nur. I tried that (logging out after I change password or update profile) … it’s still asking me to log in again. When I do, it brings me to this:

    Logged in as
    sbradshaw
    Account Status
    Active
    Membership
    Member
    Account Expiry
    Never
    Logout

    So I go back to the protected page I want to see, and again, it asks me to login.

    September 10, 2015 at 10:03 pm #3012
    JoshJeff
    Participant

    Any update on this yet? I’m having the exact same issue as described above.

    July 20, 2016 at 6:08 pm #7524
    Brandtify
    Participant

    Hi,
    I have the exact same problem as described above. I have been looking all around the web for a solution, but with no luck. Please help on this.

    July 21, 2016 at 5:21 am #7528
    mbrsolution
    Moderator

    Hi, if you are login in as an admin then please follow these instructions.

    Thank you

    July 21, 2016 at 8:17 am #7529
    Brandtify
    Participant

    Hi again,

    Thanks but my problem is not admin related..
    My site is currently set up to show a member level menu (if you are logged in) and another menu (if you are not logged in) by using the conditional “if menu” plugin.

    After a user (membership level) change password in front-end (using form builder addon) and hit submit, it automatically force a temporary logout. But the site still thinks that the user is logged in by displaying the member level menu (as it was logged in) but it is really not logged in.

    Then, if the user login through login form it redirects to the profile page that says:
    Logged in as
    username
    Account Status
    Active
    Membership
    Member
    Account Expiry
    Never
    Logout

    Instead, it should have automatically redirected the user to the assigned page after they log into your site (using the After Login Redirection addon).

    Please help on this very confusing issue of changing password on membership level.
    Thanks.

    July 21, 2016 at 11:58 pm #7532
    mbrsolution
    Moderator

    @Brandtify, in your case you will have to create a premium support ticket. Because this is related to the Form Builder add-on.

    August 11, 2016 at 2:18 pm #7780
    marie21
    Participant

    Hi Brandtify,

    you problem is excactly as mine. Could you find a solution meanwhile? Because I do not come to a solution in this forum.

    Thank´s for reply.

    It´s good to know that other people find the same issue 😉

    August 16, 2016 at 8:30 am #7831
    admin
    Keymaster

    This issue is due to your custom code. (the code you have to check if a user is logged-in or not). You need to make sure that you run your custom code related to this plugin AFTER this plugin has initiated and its functions are available.

    This issues happens when you have a piece of custom code which is checking its own thing without factoring in if this plugin has loaded or not. You are just blinding calling a function and hoping everything works.

    You need to understand how code dependency work and use the “init” action hook to defer execution of your custom code.

  • Author
    Posts
Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.
Log In

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy