You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because we don't return the roles early if not empty when filtered in get_user_roles_from_sso() they will always get clobbered by the if statement which sets a fresh empty array.
The function returns the $network_roles array if it is not null, but an empty array is not null.
Because we don't return the roles early if not empty when filtered in
get_user_roles_from_sso()
they will always get clobbered by theif
statement which sets a fresh empty array.The function returns the
$network_roles
array if it is notnull
, but an empty array is notnull
.https://github.com/humanmade/wp-simple-saml/blob/master/inc/namespace.php#L823
The text was updated successfully, but these errors were encountered: