idle
This commit is contained in:
@@ -170,7 +170,8 @@ class _LoginFormState extends State<LoginForm> {
|
||||
);
|
||||
return;
|
||||
}
|
||||
if (!_usePasskey && _passwordController.text.isEmpty) {
|
||||
if (!_usePasskey &&
|
||||
_passwordController.text.isEmpty) {
|
||||
ScaffoldMessenger.of(context).showSnackBar(
|
||||
const SnackBar(
|
||||
content: Text('Password is required'),
|
||||
@@ -180,7 +181,9 @@ class _LoginFormState extends State<LoginForm> {
|
||||
}
|
||||
if (_usePasskey) {
|
||||
context.read<AuthBloc>().add(
|
||||
LoginRequested(username: _usernameController.text),
|
||||
LoginRequested(
|
||||
username: _usernameController.text,
|
||||
),
|
||||
);
|
||||
} else {
|
||||
context.read<AuthBloc>().add(
|
||||
|
||||
Reference in New Issue
Block a user