mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
fix: Post-merge compile issues
This commit is contained in:
@@ -1787,7 +1787,8 @@
|
|||||||
#
|
#
|
||||||
#enable = false
|
#enable = false
|
||||||
|
|
||||||
# Whether to force LDAP authentication or authorize classical password login.
|
# Whether to force LDAP authentication or authorize classical password
|
||||||
|
# login.
|
||||||
#
|
#
|
||||||
# example: "true"
|
# example: "true"
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -109,7 +109,10 @@ impl Service {
|
|||||||
)?;
|
)?;
|
||||||
|
|
||||||
if !self.services.users.exists(&appservice_user_id).await {
|
if !self.services.users.exists(&appservice_user_id).await {
|
||||||
self.services.users.create(&appservice_user_id, None)?;
|
self.services
|
||||||
|
.users
|
||||||
|
.create(&appservice_user_id, None, None)
|
||||||
|
.await?;
|
||||||
} else if self
|
} else if self
|
||||||
.services
|
.services
|
||||||
.users
|
.users
|
||||||
@@ -120,7 +123,8 @@ impl Service {
|
|||||||
// Reactivate the appservice user if it was accidentally deactivated
|
// Reactivate the appservice user if it was accidentally deactivated
|
||||||
self.services
|
self.services
|
||||||
.users
|
.users
|
||||||
.set_password(&appservice_user_id, None)?;
|
.set_password(&appservice_user_id, None)
|
||||||
|
.await?;
|
||||||
}
|
}
|
||||||
|
|
||||||
self.registration_info
|
self.registration_info
|
||||||
|
|||||||
Reference in New Issue
Block a user