style: format code with prettier agian

This commit is contained in:
openhands
2026-07-13 21:41:52 +02:00
parent e6d7f2280b
commit 8efd032cc6
71 changed files with 6796 additions and 3751 deletions
+3 -1
View File
@@ -12,7 +12,9 @@ export type PrecheckResult = "ok" | "invalid" | "twofactor";
* TOTP code is still required. Lets the login form do the two-step 2FA flow.
*/
export async function precheckLogin(username: string, password: string): Promise<PrecheckResult> {
const u = String(username ?? "").normalize("NFC").trim();
const u = String(username ?? "")
.normalize("NFC")
.trim();
const p = String(password ?? "");
if (!u || !p) return "invalid";