SavandBros / tiwun-mobile

Tiwun.com mobile application written in ionic & AngularJS.
https://play.google.com/store/apps/details?id=com.tiwun.mobile
2 stars 2 forks source link

Registration error #49

Open ArsalanSavand opened 8 years ago

ArsalanSavand commented 8 years ago

Error that I will get from page response while registering a new user .

{password1: ["This field is required."], password2: ["This field is required."],…}
name: ["This field is required."]
0: "This field is required."

password1: ["This field is required."]
0: "This field is required."

password2: ["This field is required."]
0: "This field is required."
Alir3z4 commented 8 years ago

It seems the the backend API has changed, @amirm3hdi has done that part. You can just add a new field to Registration Controller/Service/Template and also make the password being sent tot server in 2 fields called password1 and password2

Alir3z4 commented 8 years ago

Pretty sure you have solved it by now, but yep.

Alir3z4 commented 8 years ago

@ArsalanSavand you can now do push and stuff, your permissions are all set

AmirSavand commented 8 years ago

It's a cake for me!!!

Alir3z4 commented 8 years ago

I like cakes. @amirm3hdi I think Arsalan has done the whole think on the frontend for it, you just drop the secondary password stuff and let it be logical and not weird.

He has some unpushed stuff as well, so be sure about them. On May 29, 2016 1:20 PM, "Amir Mehdi Savand" notifications@github.com wrote:

It's a cake for me!!!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/SavandBros/tiwun-mobile/issues/49#issuecomment-222350898, or mute the thread https://github.com/notifications/unsubscribe/AAkFCeil-1GIsyCAnELBdiQg4eslaVpZks5qGVpzgaJpZM4IoqnX .