Forked from ntorga/Mautic New Admin - SQL Query
Last active
November 23, 2018 14:01
-
-
Save Averroes/94d012e9e25f8258f03a2fba71e961f9 to your computer and use it in GitHub Desktop.
Mautic New Admin - SQL Query
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
before : | |
php -r "echo password_hash('password', PASSWORD_BCRYPT, ['cost' => 13]);" | |
INSERT INTO `users` (`id`, `role_id`, `is_published`, `date_added`, `created_by`, `created_by_user`, `date_modified`, `modified_by`, `modified_by_user`, `checked_out`, `checked_out_by`, `checked_out_by_user`, `username`, `password`, `first_name`, `last_name`, `email`, `position`, `timezone`, `locale`, `last_login`, `last_active`, `online_status`, `preferences`) | |
VALUES | |
(2, 1, 1, '2015-04-01 15:15:07', 1, 'Nobody', NULL, NULL, NULL, NULL, NULL, NULL, 'madmin', '$2y$13$VkE7UjFetqAM13oT4v/VYOfRCGrJ4hbr0zuwRZo6KVfDnNb16WFwy', 'Administrator', 'Uuser', '[email protected]', NULL, NULL, NULL, NULL, NULL, 'offline', 'N;'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment