-
Notifications
You must be signed in to change notification settings - Fork 53
silgy_usr_login
Jurek Muszyński edited this page Sep 10, 2018
·
9 revisions
Logs user in. ci is the connection index passed by the engine to app_process_req
.
Request must contain following parameters:
If no USERSBY... compilation switch is present or USERSBYLOGIN is present:
- login
- passwd
If USERSBYEMAIL compilation switch is present:
- passwd
and optionally:
- keep
Returns OK or one of the error codes:
- ERR_INVALID_REQUEST
- ERR_INVALID_LOGIN
- ERR_SERVER_TOOBUSY
- ERR_INT_SERVER_ERROR
See app_process_req
function in silgy_app.cpp in Toy Facebook project.
Requires USERS compilation switch.