Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
K
karname-ui
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Reza Sahebgharan
karname-ui
Commits
bf9eeda2
Commit
bf9eeda2
authored
Feb 02, 2020
by
Reza Sahebgharan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(update marcoadmin user): update marcoadmin user for creation
parent
d7cd3c78
Pipeline
#1006
passed with stage
in 34 minutes and 33 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
main.js
server/main.js
+9
-1
No files found.
server/main.js
View file @
bf9eeda2
...
@@ -26,7 +26,15 @@ Meteor.startup(() => {
...
@@ -26,7 +26,15 @@ Meteor.startup(() => {
if
(
marcoUser
==
undefined
||
marcoUser
==
null
)
if
(
marcoUser
==
undefined
||
marcoUser
==
null
)
Accounts
.
createUser
({
Accounts
.
createUser
({
username
:
'marcoadmin'
,
username
:
'marcoadmin'
,
password
:
'sysAdmin4.21'
password
:
'sysAdmin4.21'
,
profile
:
{
"language"
:
{
"name"
:
"English"
,
"alias"
:
"en"
},
"fullName"
:
"marcoadmin"
,
"picture"
:
"/img/empty.png"
}
});
});
Meteor
.
users
.
deny
({
update
:
()
=>
true
});
Meteor
.
users
.
deny
({
update
:
()
=>
true
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment