Fix plain text in user authendication.
This commit is contained in:
@@ -31,7 +31,7 @@ CREATE TABLE IF NOT EXISTS `login_users` (
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
|
||||
INSERT INTO `login_users` (`id`, `username`, `password`) VALUES
|
||||
(1, 'u1', 'p1');
|
||||
(1, 'u1', '$2y$10$L18u5/PyVkDgsce/DsUOQu0sKhTzh854Euhog3cVb1W4YAfgRzY8W'); /* php -r 'echo password_hash("p1", PASSWORD_DEFAULT), PHP_EOL;' */
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `notes` (
|
||||
`notesid` int(11) NOT NULL AUTO_INCREMENT,
|
||||
|
||||
Reference in New Issue
Block a user