|
|
@@ -7,6 +7,7 @@ import com.nb.auth.granter.TokenParameter;
|
|
|
import com.nb.auth.utils.SecurityUtil;
|
|
|
import com.nb.core.exception.CustomException;
|
|
|
import com.nb.core.result.R;
|
|
|
+import com.nb.core.utils.PswUtils;
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
@@ -59,6 +60,7 @@ public class AuthController {
|
|
|
.grantType(req.getGrantType())
|
|
|
.loginType(grant.getLoginType())
|
|
|
.token(grant.getToken())
|
|
|
+ .pswNeedReset(grant.getPswNeedReset())
|
|
|
.build());
|
|
|
}
|
|
|
|