Skip to content

Commit 09b364c

Browse files
author
Fredrick Peter
committed
Session Update for CSRF Token
1 parent f275a19 commit 09b364c

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Prior to installing `ultimate-uploader` get the [Composer](https://getcomposer.o
6060
**Step 1** — update your `composer.json`:
6161
```composer.json
6262
"require": {
63-
"peterson/php-form-validator": "^3.3.2"
63+
"peterson/php-form-validator": "^3.3.3"
6464
}
6565
```
6666

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
},
3535
"extra": {
3636
"branch-alias": {
37-
"dev-main": "3.3.2-dev"
37+
"dev-main": "3.3.3-dev"
3838
}
3939
},
4040
"minimum-stability": "stable",

src/Methods/CsrfToken.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ static private function init()
4747
if(self::$allow_csrf){
4848
// Start the session if it has not already been started
4949
if (session_status() == PHP_SESSION_NONE) {
50-
session_start();
50+
@session_start();
5151
}
5252

5353
// Generate on new page load

src/Methods/UltimateMethods.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ public static function old($key = null)
246246
}
247247

248248
/**
249-
* Resolve falsh message and save in memeory
249+
* Resolve flash message and save in memeory
250250
* @param object/UltimateValidator $object
251251
*
252252
* @return array|string\resolveFlash

0 commit comments

Comments
 (0)