fixed: 密码登录

This commit is contained in:
xxx 2023-09-05 20:14:13 +08:00
parent 8cf5bc0a6e
commit 657d418e7a

View File

@ -67,8 +67,7 @@ public class LoginController {
@PostMapping("/password")
@SneakyThrows
public JsonResponse password(
@RequestBody @Validated LoginPasswordRequest req, LoginBus loginBus)
public JsonResponse password(@RequestBody @Validated LoginPasswordRequest req)
throws LimitException {
if (appConfigService.enabledLdapLogin()) {
return JsonResponse.error("请使用LDAP登录");