Egor Kotov6832188
Posts: 0
Joined: Wed Nov 19, 2014 5:15 pm

How to check user registration database for duplicate email address?

Hell Makoto -

You can make call to DB from server-code without session token, thus you can check whenever the email is in use.

You can make it as a separate service, and call it before making actual signin.

Makoto
Posts: 0
Joined: Fri Oct 10, 2014 8:15 am

How to check user registration database for duplicate email address?

Hello Egor,

Thank you for your advice.

Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

How to check user registration database for duplicate email address?

Hi
None of these links work anymore. Please send links to tutorial on how to o this.
Tried your suggestion in my query.

I get a 400 Bad Request when I add this suggested line to my mapping js.

"where": '{"username": {"$regex": "^' + username + '$", "$options":"i"}}'

saurabh8122815
Posts: 0
Joined: Mon Mar 21, 2016 5:08 am

How to check user registration database for duplicate email address?

Hi Deon,

Use your email as username in Users collection.So it will auto check user is already exists in database.

Sayed Programmer King
Posts: 0
Joined: Mon Dec 19, 2016 5:09 pm

How to check user registration database for duplicate email address?

greetings to all of you,

I am building an android apps for tuition center management for my final year project using apperyio. i've got some problem with displaying the data from the database into labels. i have successfully mapped the first collections value/data into the label, but the second collection need to be checked for its userid which is same id as in the first collection. else it gives me wrong value.

see the picture here :-

My Database collections

First collection :

Image

Second Collection:-

Image

The way i map it :-

Image

and here is the part where i am stuck :-

Image

here is my android testing output

Image

Return to “Issues”