fix: spell
This commit is contained in:
parent
dd99cb30f9
commit
90193e7ac6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user