Skip to content

Commit 6992a02

Browse files
authored
Modified access level to log method
So that it can be inherited and overridden.
1 parent 95b9f97 commit 6992a02

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libs/csrf/csrfprotector.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ public static function ob_handler($buffer, $flags)
426426

427427
/*
428428
* Function: logCSRFattack
429-
* Functio to log CSRF Attack
429+
* Function to log CSRF Attack
430430
*
431431
* Parameters:
432432
* void
@@ -437,7 +437,7 @@ public static function ob_handler($buffer, $flags)
437437
* Throws:
438438
* logFileWriteError - if unable to log an attack
439439
*/
440-
private static function logCSRFattack()
440+
protected static function logCSRFattack()
441441
{
442442
//if file doesnot exist for, create it
443443
$logFile = fopen(__DIR__ ."/../" .self::$config['logDirectory']

0 commit comments

Comments
 (0)