File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
public_html/profiles/os2dagsorden/modules/os2intra_simplesaml Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -190,6 +190,8 @@ function os2intra_simplesaml_boot() {
190
190
if (!in_array($_GET['q'], array('saml_login', 'user/logout'))) {
191
191
require_once(DRUPAL_ROOT . '/includes/common.inc');
192
192
require_once(DRUPAL_ROOT . '/includes/path.inc');
193
+
194
+ drupal_load('module', 'user');
193
195
drupal_goto('saml_login', array('query' => drupal_get_destination()));
194
196
}
195
197
}
@@ -202,6 +204,8 @@ function os2intra_simplesaml_boot() {
202
204
require_once(DRUPAL_ROOT . '/includes/path.inc');
203
205
require_once(DRUPAL_ROOT . '/includes/menu.inc');
204
206
207
+ drupal_load('module', 'user');
208
+
205
209
if (!$_SESSION['nemlogin_pid'] && strpos($_GET['q'], 'nemid') !== 0) {
206
210
//unsetting session in case it had any nemid errors
207
211
unset($_SESSION['nemid_login']);
You can’t perform that action at this time.
0 commit comments