Skip to content

Commit

Permalink
Security fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hobbytes committed Feb 5, 2018
1 parent 3bb5561 commit c5c2f2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/apps/Settings/security.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
$oldtoken = md5($fuid.$d_root.$oldpassword);
$getRequest = file_get_contents('http://forest.hobbytes.com/media/os/ubase/updatetoken.php?token='.$token.'&oldtoken='.$oldtoken.'&followlink='.$_SERVER['SERVER_NAME']);
if($getRequest != "OK"){
$gui->errorLayot("SERVER ERROR!")
$gui->errorLayot("Invalid token!");
exit();
}
$settingsbd->updatebd("forestusers",password,$newpassword,login,$_SESSION["loginuser"]);
Expand Down

0 comments on commit c5c2f2d

Please sign in to comment.