Table of Contents

TLoginOptions.CheckRequiredProfileOnLogin Property

Requires a user to have all the identifier fields the application mandates (see TUserOptions.RequireEmail, TUserOptions.RequireUserName and TUserOptions.RequirePhoneNumber) before a login can complete.

Remarks

This matters mostly for external-provider sign-ins: an upstream provider (e.g. Facebook) may not return an e-mail even though the application requires one. When True (the default), such a user is provisioned but cannot obtain a session until the missing required field is supplied through the login app's "complete your profile" step. When False, the check is skipped and a user missing a required field is allowed to sign in. The check is enforced for every login path (it is evaluated in the pre-login check), so disabling it relaxes the requirement everywhere.

Syntax

Unit: Sphinx.Options

property TLoginOptions.CheckRequiredProfileOnLogin: Boolean

See also