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>
This commit is contained in:
1 parent
89a177d021
commit
e36458e44e
15 files changed
+1455
-10
No files matched your search
@@ -0,0 +1,14 @@
|
||||
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};
|
||||
Reference in new issue
Block a user