Add default admin user

This commit is contained in:
Amadeous 2017-04-04 16:56:39 +02:00
parent 3729e51140
commit 7930aef2e1
2 changed files with 9 additions and 2 deletions

View File

@ -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;

View File

@ -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'),