mirror of
https://github.com/bitwarden/clients.git
synced 2026-07-13 21:19:12 +08:00
* PM-35338 - Auto-submit 2FA on paste for email and authenticator providers When a code is pasted into the token input, set the form control value and programmatically click the continue button so the submission goes through the bitSubmit pipeline (loading state, disabled state) identically to a manual button click. * PM-35338 - Auto-submit new device verification on paste When a code is pasted into the OTP input, set the form control value and call submit() directly. The component owns both the input and submit(), so no parent wiring is needed. * PM-35338 - Auto-submit user verification dialog on OTP paste Add pasteSubmit output to UserVerificationFormInputComponent, guarded to only fire in server-side OTP mode (passwordless users). The dialog handles the output by calling FormGroupDirective.onSubmit() so the submission goes through the bitSubmit pipeline with proper loading state. Note: auto-submit on paste for OTP verification applies to sensitive actions (vault export, disable 2FA, etc.) — pending product sign-off. * PM-35338 - Route new device verification paste through bitSubmit pipeline Use FormGroupDirective.onSubmit() instead of calling submit() directly so the bitSubmit directive handles loading state, form disabling, and error propagation consistently with the other auto-submit flows in this PR. * PM-35338 - Use signal output() for submitOnPaste in 2FA child components New outputs should use the signal-based output() function rather than the legacy @Output() EventEmitter pattern. * UserVerificationFormInput - fix lint |
||
|---|---|---|
| .. | ||
| src | ||
| jest.config.js | ||
| package.json | ||
| project.json | ||
| README.md | ||
| test.setup.ts | ||
| tsconfig.json | ||
| tsconfig.spec.json | ||
Auth
This lib represents the public API of the Auth team at Bitwarden. Modules are imported using @bitwarden/auth.