name to real name
This commit is contained in:
+1
-1
@@ -74,7 +74,7 @@ public class AuthorizeBaseEndpoint {
|
||||
|
||||
Accounts account = new Accounts(userInfo.getId(),loadApp.getId());
|
||||
account.setUsername(userInfo.getUsername());
|
||||
account.setAppName(app.getName());
|
||||
account.setAppName(app.getAppName());
|
||||
|
||||
if(loadApp.getCredential() == Apps.CREDENTIALS.USER_DEFINED){
|
||||
account = accountsService.load(new Accounts(userInfo.getId(),loadApp.getId()));
|
||||
|
||||
+1
-1
@@ -59,7 +59,7 @@ public class AuthorizeCredentialEndpoint extends AuthorizeBaseEndpoint{
|
||||
account.setDisplayName(currentUser.getDisplayName());
|
||||
|
||||
account.setAppId(appId);
|
||||
account.setAppName(app.getName());
|
||||
account.setAppName(app.getAppName());
|
||||
account.setInstId(currentUser.getInstId());
|
||||
account.setCreateType("manual");
|
||||
account.setStatus(ConstsStatus.ACTIVE);
|
||||
|
||||
+1
-1
@@ -153,7 +153,7 @@ public class OAuth20AccessConfirmationEndpoint {
|
||||
model.put("auth_request", clientAuth);
|
||||
model.put("client", client);
|
||||
model.put("clientId", clientAuth.getClientId());
|
||||
model.put("appName", app.getName());
|
||||
model.put("appName", app.getAppName());
|
||||
model.put("iconBase64", app.getIconBase64());
|
||||
model.put("oauth_version", "oauth 2.0");
|
||||
Map<String, String> scopes = new LinkedHashMap<String, String>();
|
||||
|
||||
Reference in New Issue
Block a user