Fixed invalid call to addUser

This commit is contained in:
Mark van Renswoude 2018-05-02 11:29:25 +02:00
parent 90f0bfa97e
commit 06c5bc6281
2 changed files with 2 additions and 1 deletions

View File

@ -60,7 +60,7 @@ class UserRepository
if (count == 0)
{
self.addUser(new User({
self.insert(new User({
username: 'admin',
name: 'Administrator',
password: 'changeme',

View File

@ -3,6 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Recv</title>
<link rel="stylesheet" type="text/css" href="/custom.css">
</head>