Commit 76d2a39c authored by robin.ingelbrecht's avatar robin.ingelbrecht Committed by Joao Ventura
Browse files

Issue #3073495 by robin.ingelbrecht, jcnventura: support boolean fields in user accounts

parent 9c2ba1b8
......@@ -692,6 +692,10 @@ class OpenIDConnect {
$account->set($property_name, $claim_value);
break;
case 'boolean':
$account->set($property_name, !empty($claim_value));
break;
case 'image':
// Create file object from remote URL.
$basename = explode('?', $this->fileSystem->basename($claim_value))[0];
......
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