Linking database to custom login page!

Can anyone tell me how to link my members database to my custom login page?


Any help would be greatly appretiated!

Why do you want to use your own DATABASE for MEMBERs-DATA instead of using the already given opertunities by wix?

-PMD
-Wix-CRM

Doing it your way → you will reduce SECURITY of your Login.
Also if i take a look → you even did not setup the PASSWORD-DB-FIELD to the TYPE → PASSWORD! It is still of type STRING.

Be careful!

What field type should the PASSWORD field be? I can’t seem to find Password type.

@russian-dima You’re using Date/time for password?

@niallmagner You are right, I must have mixed up something.
When i was posting this, i must have been already very tired xD.

Indeed there is no option for what i have described…


How ever → can you see the PASSWORD ?:grin: So if you are able to get the password tell me. You surely will have first to decode it. Never tried it, but could work as a bad workaround xD.

Conclusion: Do not use own DB to store PASSWORDS for your LOGIN.
Use the already given options by wix → Wix-CRM / PMD.

I have created a more complex login and i still do not need an 3-rd. extern database. Everything can be done without a usage of a separate DATABASE.

BTW: Looking onto your shown code: → ELEMINATE all multiple $w.onReady s()

How do I get Wix-CRM?

https://www.wix.com/velo/reference/wix-crm
https://www.wix.com/velo/reference/wix-chat-backend

@russian-dima How do I link the CRM with my custom login page?

@niallmagner
When you register a new USER → you create a new CONTACT inside the wix-crm.

If you also are using PMD → as i can remember → you will have to add this new created contact-data by your own (manualy by code) to the PMD.

Yes it is a little bit more complicated, because you also have to work on back-end.