We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
in stanford_ssp_configuration_form() each of these settings state in the field description
stanford_ssp_configuration_form()
"If the attribute is multivalued, the first value will be used."
however the getter functions
stanford_simplesamlphp_auth_get_authname()
stanford_simplesamlphp_auth_get_username()
stanford_simplesamlphp_auth_get_email()
assume it is an array and always fetch the first value
The text was updated successfully, but these errors were encountered:
Oh I see, each of those functions is assuming array and should validate the value in the attributes array for single vs multiple values.
https://github.com/SU-SWS/stanford_ssp/blob/7.x-2.x/modules/stanford_simplesamlphp_auth/stanford_simplesamlphp_auth.inc#L578
An is_scalar check is needed here I suppose.
is_scalar
Sorry, something went wrong.
No branches or pull requests
in
stanford_ssp_configuration_form()
each of these settings state in the field description"If the attribute is multivalued, the first value will be used."
however the getter functions
stanford_simplesamlphp_auth_get_authname()
stanford_simplesamlphp_auth_get_username()
stanford_simplesamlphp_auth_get_email()
assume it is an array and always fetch the first value
The text was updated successfully, but these errors were encountered: