mirror of
https://gitee.com/dromara/sa-token.git
synced 2025-05-07 22:27:56 +08:00
修复 SaOAuth2Handle
类中 doLogin
方法没有使用 Param.pwd
常量的问题
This commit is contained in:
parent
1ca4da886e
commit
2f5b7337ab
@ -226,7 +226,7 @@ public class SaOAuth2Handle {
|
|||||||
* @return 处理结果
|
* @return 处理结果
|
||||||
*/
|
*/
|
||||||
public static Object doLogin(SaRequest req, SaResponse res, SaOAuth2Config cfg) {
|
public static Object doLogin(SaRequest req, SaResponse res, SaOAuth2Config cfg) {
|
||||||
return cfg.getDoLoginHandle().apply(req.getParamNotNull(Param.name), req.getParamNotNull("pwd"));
|
return cfg.getDoLoginHandle().apply(req.getParamNotNull(Param.name), req.getParamNotNull(Param.pwd));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user