Skip to content

Commit 63cb353

Browse files
authored
Merge pull request #41 from RRZE-Webteam/dev
Dev
2 parents 860e0ec + a2856b2 commit 63cb353

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

includes/Helper.php

+3
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ public static function getCurrentUserSamlAtts()
1919
}
2020

2121
if (!$authSimple->isAuthenticated()) {
22+
// Save the current session and clean any left overs that could interfere
23+
// with the normal application behaviour.
24+
\SimpleSAML\Session::getSessionFromRequest()->cleanup();
2225
return new \WP_Error('user_not_authenticated', 'User is not authenticated');
2326
}
2427

rrze-sso.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/*
44
Plugin Name: RRZE SSO
55
Plugin URI: https://github.com/RRZE-Webteam/rrze-sso
6-
Version: 1.6.11
6+
Version: 1.6.12
77
Description: Single-Sign-On (SSO) SAML-Integrations-Plugin für WordPress.
88
Author: RRZE-Webteam
99
Author URI: https://blogs.fau.de/webworking/
@@ -20,7 +20,7 @@
2020
defined('ABSPATH') || exit;
2121

2222
const RRZE_PHP_VERSION = '8.2';
23-
const RRZE_WP_VERSION = '6.5';
23+
const RRZE_WP_VERSION = '6.7';
2424

2525
/**
2626
* SPL Autoloader (PSR-4).

0 commit comments

Comments
 (0)