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