forked from zulip/zulip-flutter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
login [nfc]: Pull username-password form into separate widget
To make room for web-auth buttons on the same page. For now, we'll plan to put the username/password form and all the web-auth buttons together on the same page. We don't have to keep it this way forever, but it has some advantages: - My feeling is that most web apps do this, and I don't see an obvious reason to deviate from that pattern here, probably because: - In the common case of username/password authentication, users won't need to tap a "Sign in with password" button and then context-switch to a new page. The form is just there, right after your realm URL has been accepted. - Also, it'll be more convenient to share code among the various ways of authenticating. Code that manages the server-settings data, and code that inserts an account in the database and navigates to the authenticated part of the app.
- Loading branch information
1 parent
921e870
commit 74d8428
Showing
1 changed file
with
92 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters