Skip to content

Commit dfc52c1

Browse files
Update cms-t-editor.php
1 parent 9cace6e commit dfc52c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cms-t-editor.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ function backurl($url, $seprator){
123123

124124
$loginError = "";
125125
if(isset($_POST['submitPassword'])){
126-
if(md5($_POST['password']) == '5f4dcc3b5aa765d61d8327deb882cf99'){
126+
if(md5($_POST['password']) == md5(simplexml_load_file('auth/credentials.xml')->psw))){
127127
$_SESSION["login"] = "true";
128128
}else{
129129
$loginError = "Password is not correct - smoke a little less weed.";
@@ -1812,4 +1812,4 @@ function snackBar() {
18121812
</html>
18131813
<?php
18141814
}
1815-
?>
1815+
?>

0 commit comments

Comments
 (0)