Skip to content

feat: add showTermsInLogin flag to display terms of service in login …#550

Open
welkang wants to merge 2 commits into
NearHuscarl:masterfrom
welkang:feat-login-terms
Open

feat: add showTermsInLogin flag to display terms of service in login …#550
welkang wants to merge 2 commits into
NearHuscarl:masterfrom
welkang:feat-login-terms

Conversation

@welkang

@welkang welkang commented Jun 19, 2026

Copy link
Copy Markdown

By default, terms of service are only shown during signup. This adds an optional showTermsInLogin flag on FlutterLogin (default: false). When set to true, the same terms checkboxes are rendered in login mode as well, and mandatory terms are validated before the login can proceed.

This is intended for compliance scenarios (e.g. China) that require users to accept terms of service when logging in.

welkang added 2 commits June 19, 2026 15:15
…mode

By default, terms of service are only shown during signup. This adds an
optional showTermsInLogin flag on FlutterLogin (default: false). When set
to true, the same terms checkboxes are rendered in login mode as well,
and mandatory terms are validated before the login can proceed.

This is intended for compliance scenarios (e.g. China) that require
users to accept terms of service when logging in.
@welkang

welkang commented Jun 28, 2026

Copy link
Copy Markdown
Author

@NearHuscarl Could you please take a moment to review this PR?

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.

1 participant