From 38552b36e95326391168f2d70e9724825e1ef65c Mon Sep 17 00:00:00 2001 From: strawberry Date: Mon, 9 Sep 2024 21:13:37 -0400 Subject: [PATCH] make the first user admin if created from CLI / --execute Signed-off-by: strawberry --- src/admin/user/commands.rs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/admin/user/commands.rs b/src/admin/user/commands.rs index b7df11f4..cb571d77 100644 --- a/src/admin/user/commands.rs +++ b/src/admin/user/commands.rs @@ -128,6 +128,22 @@ pub(super) async fn create_user(&self, username: String, password: Option