Skip to content

Commit 4e14e90

Browse files
committed
Refactored redundant loading of login settings
1 parent 9131b76 commit 4e14e90

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

spring-boot-admin-server-ui/src/main/frontend/login.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@
4747
id="login"
4848
></section>
4949

50-
<script lang="javascript" src="sba-settings.js"></script>
5150
<script type="module" lang="javascript" src="./login.js"></script>
5251
</body>
5352
</html>

spring-boot-admin-server-ui/src/main/frontend/login/login.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,6 @@ import SbaInput from '@/components/sba-input';
6161
import SbaPanel from '@/components/sba-panel';
6262
import SbaWave from '@/components/sba-wave';
6363
64-
import sbaConfig from '@/sba-config';
65-
6664
const i18n = useI18n();
6765
const t = i18n.t;
6866
@@ -89,7 +87,7 @@ const props = defineProps({
8987
},
9088
});
9189
92-
const { rememberMeEnabled } = sbaConfig.uiSettings;
90+
const { rememberMeEnabled } = window.uiSettings;
9391
9492
const error = computed(() => {
9593
let errors = props.param.error;

0 commit comments

Comments
 (0)