Open atodicebear opened 8 years ago
Feel free to submit a PR
Hi,
I have an issue regarding this topic.
I put an existing email address in the form click on "sign up" and getting error 422 => normal in the nodejs console I'm getting the error below:
Executing (default): INSERT INTO Users
(_id
,name
,email
,internal_email
,role
,password
,provider
,salt
) VALUES (DEFAULT,'test','test@gmail.com','test@test.fr','user','CeiqN+pCZCY8/86+MQoUIvSKojbLZlQniIfI4kayJrMvMa/o1LppD3KAtDuE+tuqT0wUI9hAUfG4oJelps75rQ==','local','WxLbAbRP/ULOS7K2cYvUeA==');
POST /api/users 422 553.678 ms - -
Changing the address mail "test@gmail.com" with "test1@gmail.com" click again on "sign up" and nothing append. On client side the function register is callend but I get nothing on the server side.
I'm working on node 6.2.2 OS debian and database is MySql
Hey, I have Installed this Generator anew using:
yo angular-fullstack
For the Validation with MsSql for unique Email there is a Bug?This is the Generated code for SQL user. It throws normally a 422 Error but as well TypeError: Cannot read property '$setValidity' of undefined So as well there is no "This Email is alrleady used..." Error Message output. Changing the code to the same as for MongoDb
Solves the Problem. Tried it with the Generated Admin and TestUser after a Clean Install.