Skip to content

Conversation

@jhumphries
Copy link
Contributor

Contributing fix discussed here: #4440

Allows for the creation of oAuth based users from m365 tenants

Contributing fix discussed here: nilsteampassnet#4440

Allows for the creation of oAuth based users from m365 tenants
$data['oauth2_login_ongoing'] = $oauth2LoginOngoing;
$data['ldap_user_to_be_created'] = $enable_ad_user_auto_creation === true && DB::count() === 0 && $oauth2LoginOngoing !== true ? true : false;
$data['oauth2_user_to_be_created'] = $oauth2_enabled === true && DB::count() === 0 && $oauth2LoginOngoing === true ? true : false;
$data['oauth2_user_to_be_created'] = (bool)$oauth2_enabled === true && DB::count() === 0 && $oauth2LoginOngoing === true ? true : false;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For consistency with the rest of the code, can you add space after closing parenthesis of a cast please?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jhumphries
Thank you for your PR and fix.
Can you please do the small typo change ask by Corentin in order for me to merge it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants