Skip to content

Commit b76f787

Browse files
committed
1. fix label translation
2. fix the spring security beans dependency issue brought by #4212
1 parent db6a439 commit b76f787

3 files changed

Lines changed: 4 additions & 1 deletion

File tree

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,6 @@ Apollo 2.0.0
4949
* [Fix the potential data inconsistency issue](https://github.com/apolloconfig/apollo/pull/4256)
5050
* [Fix the deleted items display issue in text mode](https://github.com/apolloconfig/apollo/pull/4279)
5151
* [Upgrade spring boot to 2.6.6 and spring cloud to 2021.0.1](https://github.com/apolloconfig/apollo/pull/4295)
52+
* [Fix the apollo portal start failed issue](https://github.com/apolloconfig/apollo/pull/4298)
5253
------------------
5354
All issues and pull requests are [here](https://github.com/ctripcorp/apollo/milestone/8?closed=1)

apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/configuration/AuthConfiguration.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
import org.springframework.boot.context.properties.EnableConfigurationProperties;
5050
import org.springframework.context.annotation.Bean;
5151
import org.springframework.context.annotation.Configuration;
52+
import org.springframework.context.annotation.DependsOn;
5253
import org.springframework.context.annotation.Profile;
5354
import org.springframework.core.annotation.Order;
5455
import org.springframework.core.env.Environment;
@@ -136,6 +137,7 @@ public static JdbcUserDetailsManager jdbcUserDetailsManager(PasswordEncoder pass
136137
}
137138

138139
@Bean
140+
@DependsOn("jdbcUserDetailsManager")
139141
@ConditionalOnMissingBean(UserService.class)
140142
public UserService springSecurityUserService(PasswordEncoder passwordEncoder,
141143
UserRepository userRepository, AuthorityRepository authorityRepository) {

apollo-portal/src/main/resources/static/open/manage.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ <h5>{{'Open.Manage.CreateThirdApp' | translate }}
5757
<small>{{'Open.Manage.ThirdAppIdTips' | translate }}</small>
5858
</div>
5959
<div class="col-sm-1">
60-
<button class="btn btn-info" ng-click="getTokenByAppId()">查询</button>
60+
<button class="btn btn-info" ng-click="getTokenByAppId()">{{'Common.Search' | translate }}</button>
6161
</div>
6262
<div class="col-sm-6">
6363
<h4 style="color: red" ng-show="consumerToken"

0 commit comments

Comments
 (0)