Skip to content

Commit 86d1c46

Browse files
committed
fixing the ADMIN password and the SQL query issue phpipam#3
1 parent d2e94c3 commit 86d1c46

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

db/SCHEMA.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,9 @@ CREATE TABLE `users` (
150150
LOCK TABLES `users` WRITE;
151151
/*!40000 ALTER TABLE `users` DISABLE KEYS */;
152152

153-
INSERT INTO `users` (`id`, `username`, `real_name`, `auth_method`, `password`, `role`, `email`, `tel`, `notification_types`, `notification_severities`, `quiet_time_start`, `quiet_time_stop`, `last_login`, `last_activity`)
153+
INSERT INTO `users` (`id`, `username`, `real_name`, `auth_method`, `password`, `role`, `email`, `tel`, `notification_types`, `notification_severities`, `quiet_time_start`, `quiet_time_stop`, `last_login`, `last_activity`, `hostnames`)
154154
VALUES
155-
(1,'Admin','Admin user',X'6C6F63616C',X'243624726F756E64733D333030302447546749466E35497350655955325433246D5071374D5335692F4850337A6735663643426643766C4F682F645532304E6B6A33356A79556C44774B4D33776A6A39672F746456686343767A392F536231376965474E4C5A69587937525433683753536A44573630','administrator','ni@sploh.si',X'',X'6D61696C',X'656D657267656E63793B616C6572743B637269746963616C3B756E6B6E6F776E','00:00:00','00:00:00',NULL,NULL);
155+
(1,'Admin','Admin user',X'6C6F63616C',X'243624726F756E64733D333030302447546749466E354973506559553254332448775446756E736F566864424930684C3250507871546641444E576F76716358547130624F4A4C58705330426865714A58692E4830592E7A4532363454304A444E2F50426E46597067677044504F6A4F63434B2E7731','administrator','ni@sploh.si',X'',X'6D61696C',X'656D657267656E63793B616C6572743B637269746963616C3B756E6B6E6F776E','00:00:00','00:00:00',NULL,NULL,'');
156156

157157
/*!40000 ALTER TABLE `users` ENABLE KEYS */;
158-
UNLOCK TABLES;
158+
UNLOCK TABLES;

0 commit comments

Comments
 (0)