Backend Service
This commit is contained in:
@@ -43,7 +43,7 @@ long MemberLogin(CVars in, CVars &out) {
|
||||
out["stauts"] = "OK";
|
||||
/*LOAD THE SESSION INTO OUT now */
|
||||
load_db_record(out, "SELECT session FROM members_session WHERE member_id=%lu ORDER BY id DESC LIMIT 1", out["member_id"].Long());
|
||||
//Email-bad member_email_calls(in["action"].Long(), out, out);
|
||||
member_email_calls(in["action"].Long(), out, out);
|
||||
//===============================================================================================================================
|
||||
pgsql_query("UPDATE members SET last_login = now() WHERE id = %lu", out["member_id"].Long());
|
||||
// account_email(ACCOUNT_LOGIN_ALERT,out,out); // ALERT CUSTOMER OF LOGIN
|
||||
|
||||
Reference in New Issue
Block a user