Skip to content
This repository was archived by the owner on May 13, 2021. It is now read-only.

Commit 86a588a

Browse files
author
Cuonic
committed
Merge pull request #2 from mooztik/patch-1
Update auth.class.php
2 parents 8056331 + 29472a8 commit 86a588a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

auth.class.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ function __construct()
1111
include("config.php");
1212

1313
$this->mysqli = new mysqli($db['host'], $db['user'], $db['pass'], $db['name']);
14+
unset($db['pass']); // $mysqli is public, remove password for security
1415
}
1516

1617
/*

0 commit comments

Comments
 (0)