Fixed invalid call to addUser
This commit is contained in:
parent
90f0bfa97e
commit
06c5bc6281
|
@ -60,7 +60,7 @@ class UserRepository
|
||||||
|
|
||||||
if (count == 0)
|
if (count == 0)
|
||||||
{
|
{
|
||||||
self.addUser(new User({
|
self.insert(new User({
|
||||||
username: 'admin',
|
username: 'admin',
|
||||||
name: 'Administrator',
|
name: 'Administrator',
|
||||||
password: 'changeme',
|
password: 'changeme',
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<title>Recv</title>
|
<title>Recv</title>
|
||||||
<link rel="stylesheet" type="text/css" href="/custom.css">
|
<link rel="stylesheet" type="text/css" href="/custom.css">
|
||||||
</head>
|
</head>
|
||||||
|
|
Loading…
Reference in New Issue