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

If username same as an wp admin name

Simple Membership Plugin › Forums › Simple Membership Plugin › If username same as an wp admin name

Tagged: overwrite admin

  • This topic has 1 reply, 2 voices, and was last updated 10 years, 4 months ago by mbrsolution.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • November 26, 2015 at 5:10 am #4236
    oxmalta
    Participant

    Today we were testing the website before launching, and we were registering random users. I registered the user with the same username as an admin, it did not give me an error that user with this username already exists (it was a super admin); what it did, it overwrote the admin.

    I did not find out about it until I was trying to sign in into wp-admin area and it redirected me to the profile page with new credentials as a member.

    Now the super admin disappeared and became just a member. I could not access the admin dashboard anymore.

    To make a new user with super admin rights and able to see the dashboard I had to insert it with the SQL command in MySQL.

    The problem is: if a new user chooses a unique username which is the same as an admin name, it will overwrite the admin.

    November 26, 2015 at 6:15 am #4238
    mbrsolution
    Moderator

    Hi that should not happen. If someone tries to use a name that is associated with a super admin or is already in the database, the plugin will say that name is already taken. If this happened to you then something is conflicting in your site.

    Enable Debug mode if haven’t already done so. Create another super admin account so now you should have 2 super admin accounts. Then just for testing purposes try the same action as you carried out above which changed the super admin account.

    Then check the log file. See if anything is revealed in the log file.

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 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