ikinci temizlik tamamlandı

This commit is contained in:
Ümit Tunç
2026-04-28 21:15:09 +03:00
parent f80443aec0
commit 37e7296527
8313 changed files with 2400677 additions and 0 deletions
@@ -0,0 +1,36 @@
<?php
$u = u();
$post = $_POST;
unset($post['_token']);
unset($post['name']);
unset($post['surname']);
unset($post['prefix']);
if(!postesit("password","")) {
$post['password'] = Hash::make(post("password"));
$subject = "Your password has been changed.";
try {
@mailSend($u->email,$subject,"Your password has just been successfully changed. If you think you didn't do this. Contact us immediately and reset your password.");
} catch (\Throwable $th) {
//throw $th;
}
bilgi($subject);
} else {
unset($post['password']);
}
db("users")
->where("id",$u->id)
->update($post);
echo("Your information has been successfully updated.");
?>
<script>
function goBack() {
window.history.back();
// veya window.history.go(-1);
}
goBack();
</script>