Added session check fallback
This commit is contained in:
parent
1dee7a8da2
commit
a7d5239738
10
src/main.c
10
src/main.c
@ -2410,6 +2410,16 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
save_presets(0);
|
||||
free(check_data);
|
||||
} else {
|
||||
//Unable to check session, YOU WILL BE TERMINATED
|
||||
strcpy(svf_user, "");
|
||||
strcpy(svf_pass, "");
|
||||
strcpy(svf_user_id, "");
|
||||
strcpy(svf_session_id, "");
|
||||
svf_login = 0;
|
||||
svf_own = 0;
|
||||
svf_admin = 0;
|
||||
svf_mod = 0;
|
||||
}
|
||||
http_session_check = NULL;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user