Added register #13

Merged
JonasFranz merged 21 commits from add-register into master 2018-10-08 14:26:01 +00:00
Owner
No description provided.
JonasFranz was assigned by konrad 2018-10-02 11:50:25 +00:00
Collaborator

Why do you add newRegisterService instead of using newLoginService?

Why do you add `newRegisterService` instead of using `newLoginService`?
Author
Owner

Because I want to register the user, not log him in...

Because I want to register the user, not log him in...
Collaborator

But you can use the same service. LoginService could be provided for both. I see no reason in seperating it.

But you can use the same service. LoginService could be provided for both. I see no reason in seperating it.
Author
Owner

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 called newLoginService can register users.

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 called `newLoginService` can register users.
Collaborator

Please move the validation of passwords to validate by setting password when onChanged is called.

Please move the validation of passwords to validate by setting password when onChanged is called.
Author
Owner

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 failing

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 failing
Collaborator

You have to update it via setState

You have to update it via setState
JonasFranz added the
Status: Completed
Type: Enhancement
labels 2018-10-08 14:05:14 +00:00
JonasFranz closed this pull request 2018-10-08 14:26:01 +00:00
JonasFranz deleted branch add-register 2018-10-08 14:26:20 +00:00
JonasFranz referenced this issue from a commit 2018-10-08 14:31:47 +00:00
konrad added this to the 0.1 milestone 2019-03-16 15:42:02 +00:00
This repo is archived. You cannot comment on pull requests.
No description provided.