Fixed invalid call to addUser
This commit is contained in:
parent
90f0bfa97e
commit
06c5bc6281
@ -60,7 +60,7 @@ class UserRepository
|
||||
|
||||
if (count == 0)
|
||||
{
|
||||
self.addUser(new User({
|
||||
self.insert(new User({
|
||||
username: 'admin',
|
||||
name: 'Administrator',
|
||||
password: 'changeme',
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user