Skip to content

Commit

Permalink
addcsrf protection and hasFlash method
Browse files Browse the repository at this point in the history
  • Loading branch information
samayo committed Dec 4, 2024
1 parent e432202 commit 223b832
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Security/Session.php
Original file line number Diff line number Diff line change
Expand Up @@ -271,8 +271,6 @@ public function getFlash(string $key, mixed $default = null): mixed
}


// Add these methods to the Session class, right before the __destruct method:

/**
* Generates an HTML input field containing the CSRF token.
*
Expand Down

0 comments on commit 223b832

Please sign in to comment.