diff --git a/Processes/Saturn/AccountManager/Join.php b/Processes/Saturn/AccountManager/Join.php index aa27fe7..e8cdbf8 100644 --- a/Processes/Saturn/AccountManager/Join.php +++ b/Processes/Saturn/AccountManager/Join.php @@ -23,7 +23,7 @@ if ($CSRF->Check()) { $Username = $DB->Escape($_POST['username']); $Email = $DB->Escape($_POST['email']); - $Password = password_hash($_POST['password'], PASSWORD_DEFAULT); + $Password = password_hash($_POST['password'], SECURITY_PASSWORD_ALGORITHM); $UniqID = $UUID->Generate(); $Result = $DB->Insert('user', '`id`, `uuid`, `username`, `email`, `password`', "NULL, '".$UniqID."', '".$Username."', '".$Email."', '".$Password."'"); diff --git a/Settings/Developer.php b/Settings/Developer.php deleted file mode 100644 index 08a18eb..0000000 --- a/Settings/Developer.php +++ /dev/null @@ -1,19 +0,0 @@ - PDO::FETCH_ASSOC, PDO::ATTR_EMULATE_PREPARES => false, ]; + +const SECURITY_PASSWORD_ALGORITHM = PASSWORD_DEFAULT; +const SECURITY_TOKEN_ALGORITHM = PASSWORD_DEFAULT; diff --git a/package-lock.json b/package-lock.json index 8d20ff0..1205b09 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { - "name": "saturn", + "name": "Saturn", "lockfileVersion": 3, "requires": true, "packages": {