a
This commit is contained in:
@@ -47,8 +47,8 @@ class Csrf
|
||||
*/
|
||||
public static function field(): string {
|
||||
$token = self::generateToken();
|
||||
return '<input type="hidden" name="csrf_token"
|
||||
value="' . htmlspecialchars($token) . '">';
|
||||
|
||||
// return '<input type="hidden" name="csrf_token" value="' . htmlspecialchars($token) . '">';
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user