|
@@ -122,9 +122,8 @@ public class BaseAuthenticationSuccessEventHandler extends SavedRequestAwareAuth
|
|
|
Map<String,Object> map = new HashMap<>(3);
|
|
|
map.put("password", StringUtils.isEmpty(sysUser.getPassword())?false:true);
|
|
|
map.put("authentication",oAuth2AccessToken);
|
|
|
-
|
|
|
- String tenantId = "1";
|
|
|
- map.put("tenantId", tenantId);
|
|
|
+
|
|
|
+ map.put("tenantId", sysUser.getTenantId());
|
|
|
|
|
|
response.setContentType("application/json; charset=utf-8");
|
|
|
HttpResponseResult result = new HttpResponseResult(true, HttpStatus.OK.value(), map, "");
|