tor http is secure

This commit is contained in:
Matt Hill
2026-03-25 13:31:53 -06:00
parent 010e439d1d
commit 7e35ad57e7
3 changed files with 13 additions and 11 deletions

View File

@@ -1,8 +1,5 @@
@if (config.isLanHttp()) {
<!-- Local HTTP -->
<ca-wizard />
} @else {
<!-- not Local HTTP -->
@if (config.isSecureContext()) {
<!-- Secure context -->
<div tuiCardLarge class="card">
<img alt="StartOS Icon" class="logo" src="assets/img/icon.png" />
<h1 class="header">{{ 'Login to StartOS' | i18n }}</h1>
@@ -23,4 +20,7 @@
<button tuiButton class="button">{{ 'Login' | i18n }}</button>
</form>
</div>
} @else {
<!-- Insecure context -->
<ca-wizard />
}