Commit 1fe9bf99 authored by Robert Czechowski's avatar Robert Czechowski
Browse files

Call add admin user function in startup (has been lost in rebasing)

parent c75f6dfd
......@@ -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 …")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment