feat: add ldap config

feat: add LDAP login and user creation

feat: add diagnostic commands

Co-authored-by: Jason Volk <jason@zemos.net>
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
RatCornuandJason Volk authored and Jason Volk committed 2025-04-28 07:23:15 +00:00
1 parent 78a02edbbf
commit 448ac63a21
15 files changed
+804 -165

No files matched your search

+8 -2
View File
@@ -306,7 +306,10 @@ pub(crate) async fn get_timezone_key_route(
.await
{
if !services.users.exists(&body.user_id).await {
services.users.create(&body.user_id, None, None).await?;
services
.users
.create(&body.user_id, None, None)
.await?;
}
services
@@ -366,7 +369,10 @@ pub(crate) async fn get_profile_key_route(
.await
{
if !services.users.exists(&body.user_id).await {
services.users.create(&body.user_id, None, None).await?;
services
.users
.create(&body.user_id, None, None)
.await?;
}
services