Added register #13
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "add-register"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why do you add
newRegisterService
instead of usingnewLoginService
?Because I want to register the user, not log him in...
But you can use the same service. LoginService could be provided for both. I see no reason in seperating it.
I've renamed it to
newUserService
and updated both register and login to use it, to avoid further confiusions. To me, it just doesn't make sense something callednewLoginService
can register users.Please move the validation of passwords to validate by setting password when onChanged is called.
Fixed. But in my tests, none of the private variables holding user informations are updated (the debugger show all of them are
null
), meaning validation and registering are failingYou have to update it via setState