• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
double account email in cdbUsers Table
#1
Are you another way, so that there is no double account register in the cdbUsers table.

if I register with an email with the same password. then there will be a double account register.

example
email: email@example.com
password: Test123

and then

email: email@example.com
password: TEst123

then what happens in the cdbUsers table will occur 2 email accounts. I don't think this is ideal and it shouldn't be like this. There should be only 1 register account in the user table.

I tried to use the cdb_advancedQuery function but the users table cannot query. so you can't check if the same email can't double register.

Are there any other solutions to prevent double accounts?

Thanks
  Reply
#2
Hi miyaa,

We've confirmed this is a bug. We will push out an update so the API checks for this.

In the meantime you can use cdb_readUsersByEmail (https://docs.livecloud.io/ReadUsersByEmail/) to check if a user with the given email exists before you create the user account.
  Reply
#3
The bug has been corrected. Please give it a try.
The issue was server-side. No new libraries are needed.
  Reply
#4
thanks. problem has been resolved
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)