Skip to content

Commit

Permalink
Merge pull request #65 from michaelryanmcneill/2.2.1-alpha
Browse files Browse the repository at this point in the history
Version 2.2.1
  • Loading branch information
michaelryanmcneill authored Jun 18, 2020
2 parents 37fb390 + ba58f12 commit bd2ecf0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: michaelryanmcneill, willnorris, mitchoyoshitaka, jrchamp, dericcra
Tags: shibboleth, authentication, login, saml
Requires at least: 3.3
Tested up to: 5.4.2
Stable tag: 2.2
Stable tag: 2.2.1

Allows WordPress to externalize user authentication and account creation to a Shibboleth Service Provider.

Expand Down Expand Up @@ -186,6 +186,9 @@ This update brings with it a major change to the way Shibboleth attributes are a
This update brings with it a major change to the way Shibboleth attributes are accessed. For most users, no additional configuration will be necessary. If you are using a specialized server configuration, such as a Shibboleth Service Provider on a reverse proxy or a server configuration that results in environment variables being sent with the prefix REDIRECT_, you should see the changelog for additional details: https://wordpress.org/plugins/shibboleth/#developers

== Changelog ==
= version 2.2.1 (2020-06-18) =
- Temporarily reverts <IfModule> conditional for .htaccess due to [reported issues with cPanel environments](https://github.com/michaelryanmcneill/shibboleth/issues/64).

= version 2.2 (2020-06-17) =
- Implementing <IfModule> conditional for .htaccess to protect against the Shibboleth Apache module not being installed; [thanks to @jrchamp for reporting](https://github.com/michaelryanmcneill/shibboleth/issues/60).
- Added an option to disable account creation if no mapped roles or default roles exist; props [@dandalpiaz](https://github.com/michaelryanmcneill/shibboleth/pull/59).
Expand Down
2 changes: 1 addition & 1 deletion shibboleth.php
Original file line number Diff line number Diff line change
Expand Up @@ -901,7 +901,7 @@ function shibboleth_insert_htaccess() {

if ( got_mod_rewrite() && ! $disabled ) {
$htaccess = get_home_path() . '.htaccess';
$rules = array( '<IfModule mod_shib>','AuthType shibboleth', 'Require shibboleth','</IfModule>' );
$rules = array( 'AuthType shibboleth', 'Require shibboleth' );
insert_with_markers( $htaccess, 'Shibboleth', $rules );
}
}
Expand Down

0 comments on commit bd2ecf0

Please sign in to comment.