Title: Login form does not work if HTTPS is enforced
Last modified: August 21, 2016

---

# Login form does not work if HTTPS is enforced

 *  [hiroprot](https://wordpress.org/support/users/hiroprot/)
 * (@hiroprot)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/login-form-does-not-work-if-https-is-enforced/)
 * I enforce SSL for login by setting this in wp-config.php:
 * `define(‘FORCE_SSL_ADMIN’, true);
 * This breaks UAM’s login form when a user opens the page where the login form 
   is placed on via http instead of https.
 * Could you try to detect if FORCE_SSL_ADMIN is enabled and use https for the form
   post in that case?
 * Thanks!
 * [http://wordpress.org/plugins/user-access-manager/](http://wordpress.org/plugins/user-access-manager/)

The topic ‘Login form does not work if HTTPS is enforced’ is closed to new replies.

 * ![](https://ps.w.org/user-access-manager/assets/icon.svg?rev=1563783)
 * [User Access Manager](https://wordpress.org/plugins/user-access-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/user-access-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/user-access-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/user-access-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/user-access-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/user-access-manager/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [hiroprot](https://wordpress.org/support/users/hiroprot/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/login-form-does-not-work-if-https-is-enforced/)
 * Status: not resolved