Improve login UX

This commit is contained in:
Hillel Coren 2019-05-29 10:05:52 +03:00
parent 8a68f96c10
commit e3636a2d95
1 changed files with 2 additions and 2 deletions

View File

@ -78,8 +78,8 @@ class _LoginState extends State<LoginView> {
widget.viewModel.onLoginPressed(context,
email: _emailController.text,
password: _passwordController.text,
url: _urlController.text,
secret: _secretController.text,
url: _isSelfHosted ? _urlController.text : '',
secret: _isSelfHosted ? _secretController.text : '',
oneTimePassword: _oneTimePasswordController.text);
}