fix: spell
This commit is contained in:
		
							parent
							
								
									dd99cb30f9
								
							
						
					
					
						commit
						90193e7ac6
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -110,7 +110,7 @@ export const createLoginMiddleware = (userController: UserAccessor) =>
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    //if admin login is forbidden?
 | 
					    //if admin login is forbidden?
 | 
				
			||||||
    if (username === "admin" && setting.forbid_remote_admin_login) {
 | 
					    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);
 | 
					    const user = await userController.findUser(username);
 | 
				
			||||||
    //username not exist
 | 
					    //username not exist
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue