Right now I am calling 
connect<https://github.com/orientechnologies/orientdb/wiki/OrientDB-REST#connect>REST
 call to login a user in system, but connect only checks the username 
against OUser.name field. If I want the username to be either email id or 
phone number (anyone of those), I think I need to write my own JS function 
(in OrientDB) and do the required checks and then set the session.

Question is how to do it ?
I will appreciate if someone can share the example code.

Regards,
Gaurav

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to