Add default admin user
This commit is contained in:
parent
3729e51140
commit
7930aef2e1
@ -63,7 +63,7 @@ $public_tracks = 0;
|
||||
|
||||
// admin user who has access to all users locations
|
||||
// none if empty
|
||||
$admin_user = "";
|
||||
$admin_user = "admin";
|
||||
|
||||
// Default interval in seconds for live auto reload
|
||||
$interval = 10;
|
||||
|
@ -92,4 +92,11 @@ ALTER TABLE `tracks`
|
||||
-- AUTO_INCREMENT for table `users`
|
||||
--
|
||||
ALTER TABLE `users`
|
||||
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
|
||||
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
|
||||
|
||||
--
|
||||
-- Content of table `users`
|
||||
--
|
||||
|
||||
INSERT INTO `users` (`id`, `login`, `password`) VALUES
|
||||
(1, 'admin', '$2y$10$7OvZrKgonVZM9lkzrTbiou.CVhO3HjPk5y0W9L68fVwPs/osBRIMq'),
|
Loading…
x
Reference in New Issue
Block a user