mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-03 09:45:03 +02:00
Added more security flags to prevent XSS attack from cookie.
This commit is contained in:
parent
c08c069479
commit
96365eef2a
4 changed files with 45 additions and 1 deletions
|
@ -5,6 +5,10 @@
|
|||
* by https://t.me/ibnux
|
||||
**/
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");
|
||||
header("Expires: Tue, 01 Jan 2000 00:00:00 GMT");
|
||||
header("Pragma: no-cache");
|
||||
|
||||
if(Admin::getID()){
|
||||
r2(U.'dashboard', "s", Lang::T("You are already logged in"));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue