In order to mitigate against the brute force attacks against Gitlab accounts, we are moving to all edu-ID Logins. We would like to remind you to link your account with your edu-id. Login will be possible only by edu-ID after November 30, 2021. Here you can find the instructions for linking your account.

If you don't have a SWITCH edu-ID, you can create one with this guide here

kind regards

Commit ed25c0d2 authored by haemmer's avatar haemmer
Browse files

Added a check to prevent problems with 'ghost' IdPs in IDProvider.conf.php

parent d7a065fa
......@@ -590,7 +590,7 @@ function sortIdentityProviders(&$IDProviders){
$sortedCategories = Array();
foreach ($IDProviders as $entityId => $IDProvider){
if (!is_array($IDProvider)){
if (!is_array($IDProvider) || !isset($IDProvider['Name'])){
// Remove any entries that are not arrays
} elseif ($IDProvider['Type'] == 'category'){
......@@ -601,7 +601,6 @@ function sortIdentityProviders(&$IDProviders){
// Sort categories and IdPs
if (count($sortedCategories) > 1){
// Sort using index
uasort($sortedCategories, 'sortUsingTypeIndexAndName');
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment