mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-06-07 17:55:59 +08:00
fixed: 密码登录
This commit is contained in:
parent
8cf5bc0a6e
commit
657d418e7a
@ -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登录");
|
||||
|
Loading…
x
Reference in New Issue
Block a user