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") @PostMapping("/password")
@SneakyThrows @SneakyThrows
public JsonResponse password( public JsonResponse password(@RequestBody @Validated LoginPasswordRequest req)
@RequestBody @Validated LoginPasswordRequest req, LoginBus loginBus)
throws LimitException { throws LimitException {
if (appConfigService.enabledLdapLogin()) { if (appConfigService.enabledLdapLogin()) {
return JsonResponse.error("请使用LDAP登录"); return JsonResponse.error("请使用LDAP登录");