profile pic
This commit is contained in:
@@ -1989,6 +1989,8 @@ long LoginWrenchBoardAccount(CVars in, CVars &out) {
|
||||
pgsql_query("UPDATE members SET last_login = now() , loc='%s' WHERE id = %lu",loc, out["member_id"].Long());
|
||||
account_email(ACCOUNT_LOGIN_ALERT, out, out); // ALERT CUSTOMER OF LOGIN
|
||||
ret = PHP_LOGIN_OK;
|
||||
out["profile_pic_url"] = "https://www.wrenchboard.com/assets/images/profile.jpg";
|
||||
out["password"] = "";
|
||||
LoginLogger(out["member_id"].Long(),login_mode);
|
||||
} else {
|
||||
out["status"] = "Session check failed";
|
||||
@@ -2125,6 +2127,7 @@ long LoginWrenchBoardExternal(CVars in, CVars &out) {
|
||||
load_db_record(out, "SELECT session FROM members_session WHERE member_id=%lu ORDER BY id DESC LIMIT 1", out["member_id"].Long());
|
||||
//===============================================================================================================================
|
||||
account_email(ACCOUNT_LOGIN_ALERT, out, out); // ALERT CUSTOMER OF LOGIN
|
||||
out["profile_pic_url"] = "https://www.wrenchboard.com/assets/images/profile.jpg";
|
||||
res = PHP_LOGIN_OK;
|
||||
} else {
|
||||
out["status"] = "Session check failed";
|
||||
|
||||
Reference in New Issue
Block a user