fix: Await future

This commit is contained in:
timedout authored and Ginger committed 2026-01-07 12:32:34 -05:00
1 parent 3a4b94005d
commit 743f6a101b
1 file changed
+1 -1
+1 -1
View File
@@ -186,7 +186,7 @@ pub(crate) async fn handle_login(
return Err!(Request(Unknown("User ID does not belong to this homeserver")));
}
if services.users.is_locked(&user_id)? {
if services.users.is_locked(&user_id).await? {
return Err(Error::BadRequest(ErrorKind::UserLocked, "This account has been locked."));
}