fix: spell

This commit is contained in:
monoid 2022-04-28 13:39:58 +09:00
parent dd99cb30f9
commit 90193e7ac6

View File

@ -110,7 +110,7 @@ export const createLoginMiddleware = (userController: UserAccessor) =>
}
//if admin login is forbidden?
if (username === "admin" && setting.forbid_remote_admin_login) {
return sendError(403, "forbiden remote admin login");
return sendError(403, "forbidden remote admin login");
}
const user = await userController.findUser(username);
//username not exist