We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cace6e commit dfc52c1Copy full SHA for dfc52c1
cms-t-editor.php
@@ -123,7 +123,7 @@ function backurl($url, $seprator){
123
124
$loginError = "";
125
if(isset($_POST['submitPassword'])){
126
- if(md5($_POST['password']) == '5f4dcc3b5aa765d61d8327deb882cf99'){
+ if(md5($_POST['password']) == md5(simplexml_load_file('auth/credentials.xml')->psw))){
127
$_SESSION["login"] = "true";
128
}else{
129
$loginError = "Password is not correct - smoke a little less weed.";
@@ -1812,4 +1812,4 @@ function snackBar() {
1812
</html>
1813
<?php
1814
}
1815
-?>
+?>
0 commit comments