Skip to content

Commit c13f08b

Browse files
author
Thomas
committed
change default value of userCanSelectAccounts
1 parent 936b42d commit c13f08b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/api-service/lowcoder-sdk/src/main/java/org/lowcoder/sdk/auth/Oauth2GenericAuthConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public String replaceAuthUrlClientIdPlaceholder(String url)
3434
return super.replaceAuthUrlClientIdPlaceholder(url)
3535
.replace(BASE_URL_PLACEHOLDER, authorizationEndpoint)
3636
.replace(SCOPE_PLACEHOLDER, scope)
37-
.concat(Boolean.TRUE.equals(userCanSelectAccounts)?"&prompt=select_account":"");
37+
.concat(Boolean.FALSE.equals(userCanSelectAccounts)?"":"&prompt=select_account");
3838
}
3939

4040

0 commit comments

Comments
 (0)