Update reset.php
authorPatrick McGuire <insidenothing@gmail.com>
Thu, 21 May 2020 18:04:50 +0000 (14:04 -0400)
committerGitHub <noreply@github.com>
Thu, 21 May 2020 18:04:50 +0000 (14:04 -0400)
admin/reset.php

index 59bf426..49da22a 100644 (file)
@@ -13,9 +13,13 @@ if(isset($_POST['email'])){
           off_world_mail($email,$row['name'],'Login with '.$email.' and your new password '.$pass.' at http://md-petition.com/admin/login.php');
           $petition->query("update users set pass = '$encrypted' WHERE email = '$email'");
           echo "<h1>Your Password has been Sent.</h1>";
+         slack_general('ADMIN: Reset- Your Password has been Sent','md-petition');
         }else{
           echo "<h1>E-Mail address not found.</h1>";
+         slack_general('ADMIN: Reset- E-Mail address not found','md-petition');
         }      
+}else{
+       slack_general('ADMIN: reset.php','md-petition');        
 }
 ?>