Files
Ely-GPUI-Components/src/account/mod.rs
T
ZacharyZhang-NYandClaude Opus 5.5 e36458e44e Account · Sign in: log in, sign up, providers, a link by email, a second factor
LoginForm takes an email and a password, keeps one signed in on a box,
and signs in on Enter once the address reads and a password is typed;
a failed try says why above Sign in. SignupForm ticks a new password's
rules as they hold and waits for all of them and the terms.
OAuthButtons offer each provider, one spinning while the rest rest.
MagicLinkForm and ForgotPassword send a link to an address and, once
sent, say where it went and offer it again. TwoFactorInput takes a
six-digit code at once and, after one fails, clears the boxes through
forms::PinInput's new attempt, keeping its focus. The Account chapter
splits into sign-in, profile and access, and billing and team.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-27 13:12:49 -04:00

15 lines
310 B
Rust

mod factor;
mod login;
mod mail;
mod oauth;
mod signup;
#[cfg(all(test, feature = "test-support"))]
mod tests;
pub use factor::TwoFactorInput;
pub use login::{Login, LoginForm};
pub use mail::{ForgotPassword, MagicLinkForm};
pub use oauth::OAuthButtons;
pub use signup::{Signup, SignupForm, password_rules};