-
Notifications
You must be signed in to change notification settings - Fork 0
/
gutenbergAdmin.js
41 lines (36 loc) · 938 Bytes
/
gutenbergAdmin.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
conn = new Mongo("localhost:27017");
db = conn.getDB("gutenbergAdmin");
db.users.drop();
db.users.insert(
{
"_id" : ObjectId("5a28f2b0acc04f7f2e9740ae"),
"_class" : "com.dub.spring.domain.MyUser",
"username" : "Admin",
"hashedPassword" : BinData(0, "JDJhJDEwJGU2MEdhLzgyNFpsWGE4SUZQcHFUVWVmUVRUOGxCR2dNckpCWk81c3hjOTNFb0toenVhM2xT"),
"accountNonExpired" : true,
"accountNonLocked" : true,
"credentialsNonExpired" : true,
"enabled" : true,
"authorities" : [
{
"authority" : "ROLE_USER"
}
],
"addresses" : [
{
"street" : "Main Street 2233",
"city" : "Dallas",
"zip" : "75215",
"state" : "TX",
"country" : "USA"
}
],
"paymentMethods" : [
{
"cardNumber" : "1234567813572468",
"name" : "Carol Baker"
}
],
"mainPayMeth" : 0,
"mainShippingAddress" : 0
});