Title: Admin Access Restriction not activating properly
Last modified: August 21, 2016

---

# Admin Access Restriction not activating properly

 *  Resolved [daviesda](https://wordpress.org/support/users/daviesda/)
 * (@daviesda)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/admin-access-restriction-not-activating-properly/)
 * Hi there,
 * I’m using v2.6.4 of WordPress Simple Firewall and trying to activate Admin Access
   Restriction. I check the Enforce Admin Access Restriction box, specify a plugin
   access key, and hit the Save All Settings button. The page reloads with a form
   inviting me to enter my Access Key. However if I select any of the Simple Firewall
   links in the left-hand admin menu in WordPress I bypass the Access Key login 
   and the plugin page loads normally. Then if I visit the Simple Firewall dashboard
   I can see that Admin Access Protection is OFF.
 * I’ve repeated this several times including with a different web browser and I
   get the same result.
 * Any ideas?
 * Cheers,
 * David.
 * [https://wordpress.org/plugins/wp-simple-firewall/](https://wordpress.org/plugins/wp-simple-firewall/)

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Plugin Author [Paul](https://wordpress.org/support/users/paultgoodchild/)
 * (@paultgoodchild)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/admin-access-restriction-not-activating-properly/#post-4985811)
 * Hi David,
 * Okay, perhaps I’ve introduced an error in the latest release. Let me check that
   for you, and thanks for reporting it.
 * Paul.
 *  Plugin Author [Paul](https://wordpress.org/support/users/paultgoodchild/)
 * (@paultgoodchild)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/admin-access-restriction-not-activating-properly/#post-4985823)
 * Hi David,
 * Okay, I know what’s happening here… it’s not actually a problem with the Admin
   Access system, but I’ll look at addressing it anyway.
 * If you enable the Admin Access system, you **must** put in an access key at the
   same time you. If you leave it empty, it will not enable the system for you.
 * The problem that you’re experiencing is a timing condition with setting the value,
   saving it, displaying the page. Not worth going into the details, but basically,
   the solution here is to ensure that you set the key at the time of enabling it.
 * Hope that helps, and thanks for reporting it.
 *  Thread Starter [daviesda](https://wordpress.org/support/users/daviesda/)
 * (@daviesda)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/admin-access-restriction-not-activating-properly/#post-4985829)
 * Hi Paul,
 * That’s what I have been doing, checking the Enforce Admin Access Restriction 
   box, setting the Access Key then hitting submit, probably 5 seconds max. The 
   instruction to not leave the Access Key empty is clear on the Admin Access page,
   so I didn’t!
 * Cheers,
 * David.
 *  Plugin Author [Paul](https://wordpress.org/support/users/paultgoodchild/)
 * (@paultgoodchild)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/admin-access-restriction-not-activating-properly/#post-4985860)
 * Yep, I’m still looking at this as I can now easily replicate the issue… trying
   to work out what’s going wrong. I should have an answer shortly…
 *  Plugin Author [Paul](https://wordpress.org/support/users/paultgoodchild/)
 * (@paultgoodchild)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/admin-access-restriction-not-activating-properly/#post-4985877)
 * Okay, I found the problem 🙂 In the latest release there is low-level block on
   updating the plugin options when you’ve got admin access enabled… but it turns
   out this block is blocking the enabling of admin access. 🙂 I’ll figure out a
   proper way to get this to work shortly…
 *  Plugin Author [Paul](https://wordpress.org/support/users/paultgoodchild/)
 * (@paultgoodchild)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/admin-access-restriction-not-activating-properly/#post-4985908)
 * Okay, version 2.6.5 should address this issue. Let me know how you get on once
   you’ve upgraded (you may have to wait 10 minutes before WordPress.org will let
   you upgrade)
 *  Thread Starter [daviesda](https://wordpress.org/support/users/daviesda/)
 * (@daviesda)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/admin-access-restriction-not-activating-properly/#post-4986012)
 * Great, I can confirm that v2.6.5 works as expected for me. Thanks Paul.
 * Cheers,
 * David.
 *  Plugin Author [Paul](https://wordpress.org/support/users/paultgoodchild/)
 * (@paultgoodchild)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/admin-access-restriction-not-activating-properly/#post-4986013)
 * Great, happy to hear it’s all fixed for you.
 * After you use the plugin for a bit, would you mind leaving a nice little review
   for us? 🙂
 * Cheers,
    Paul.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Admin Access Restriction not activating properly’ is closed to new replies.

 * ![](https://ps.w.org/wp-simple-firewall/assets/icon-256x256.png?rev=3054572)
 * [Shield Security – Smart Bot Blocking, Brute-Force Login Protection & File Scanning](https://wordpress.org/plugins/wp-simple-firewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-simple-firewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-simple-firewall/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-simple-firewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-simple-firewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-simple-firewall/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [Paul](https://wordpress.org/support/users/paultgoodchild/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/admin-access-restriction-not-activating-properly/#post-4986013)
 * Status: resolved