Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bwinf
medal
Commits
1fe9bf99
Commit
1fe9bf99
authored
Feb 19, 2019
by
Robert Czechowski
Browse files
Call add admin user function in startup (has been lost in rebasing)
parent
c75f6dfd
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main.rs
View file @
1fe9bf99
...
...
@@ -204,6 +204,8 @@ fn main() {
refresh_all_contests
(
&
mut
conn
);
add_admin_user
(
&
mut
conn
,
opt
.resetadminpw
);
match
start_server
(
conn
,
config
)
{
Ok
(
_
)
=>
println!
(
"Server started"
),
Err
(
_
)
=>
println!
(
"Error on server start …"
)
...
...
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