big update : session authentification guard, some exemaples and docs
This commit is contained in:
parent
eb54203916
commit
5be76d38f6
30 changed files with 163 additions and 60 deletions
|
|
@ -7,7 +7,7 @@ class XssToken
|
|||
|
||||
public static function getNew($title,$message,$type)
|
||||
{
|
||||
$_SESSION['xss_token'] = generateUniqueToken('xss',25);
|
||||
$_SESSION['xss_token'] = self::generateUniqueToken('xss',25);
|
||||
}
|
||||
|
||||
public static function remove(){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue