diff --git a/view/admin/users/view_users.php b/view/admin/users/view_users.php
index 0bfd374..39aee06 100644
--- a/view/admin/users/view_users.php
+++ b/view/admin/users/view_users.php
@@ -71,7 +71,7 @@
diff --git a/view/auth/register.php b/view/auth/register.php
index 97bec61..13bcd9b 100644
--- a/view/auth/register.php
+++ b/view/auth/register.php
@@ -41,7 +41,7 @@
header('location: /auth/register?e=Please only use characters from A-Z in your last name!');
die();
}
- $password = password_hash($upassword, PASSWORD_DEFAULT);
+ $password = password_hash($upassword, PASSWORD_BCRYPT);
$skey = generate_key($email, $password);
if (!$username == "" || !$email == "" || !$first_name == "" || !$last_name == "" || !$upassword == "") {
$check_query = "SELECT * FROM mythicaldash_users WHERE username = '$username' OR email = '$email'";
diff --git a/view/auth/reset-password.php b/view/auth/reset-password.php
index dd45c1c..93bc635 100644
--- a/view/auth/reset-password.php
+++ b/view/auth/reset-password.php
@@ -13,7 +13,7 @@
if ($csrf->validate('reset-password-form')) {
$ucode = $conn->query("SELECT * FROM mythicaldash_resetpasswords WHERE `user-resetkeycode` = '" . $code . "'")->fetch_array();
$upassword = mysqli_real_escape_string($conn, $_GET['password']);
- $password = password_hash($upassword, PASSWORD_DEFAULT);
+ $password = password_hash($upassword, PASSWORD_BCRYPT);
$conn->query("UPDATE `mythicaldash_users` SET `password` = '" . $password . "' WHERE `mythicaldash_users`.`api_key` = '" . $ucode['user-apikey'] . "';");
$conn->query("DELETE FROM mythicaldash_resetpasswords WHERE `mythicaldash_resetpasswords`.`id` = " . $ucode['id'] . "");
$conn->close();
diff --git a/view/components/sidebar.php b/view/components/sidebar.php
index c5c2305..d918425 100644
--- a/view/components/sidebar.php
+++ b/view/components/sidebar.php
@@ -107,24 +107,11 @@ function is_active_page($page_urls)
Application API
-