Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't login, page keeps loading #4

Closed
andy34h opened this issue May 28, 2020 · 3 comments
Closed

Can't login, page keeps loading #4

andy34h opened this issue May 28, 2020 · 3 comments

Comments

@andy34h
Copy link

andy34h commented May 28, 2020

Sign up works fine but when I try to log in the page just keeps loading and shows the message 'Logging in, please wait...' and never redirects to home page

@mehmetresatdemir
Copy link

child: TextFormField(
textAlignVertical: TextAlignVertical.center,
validator: validatePassword,
onSaved: (String val) {
email = val;
},
onFieldSubmitted: (password) async {
await onClick(_emailController.text, _passwordController.text);
},
controller : _passwordController,
textInputAction: TextInputAction.done,
style: TextStyle(fontSize: 18.0),

@arolihas
Copy link

arolihas commented Jan 6, 2021

Where is this snippet supposed to go? in onSaved you have email=val but it looks like this should be in the password part?

@mostafaAbdelazim
Copy link
Contributor

This issue has been fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants