File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -635,6 +635,7 @@ const loginTemplate = `<!DOCTYPE html>
635
635
<div class="col-md-4">
636
636
<div class="card shadow">
637
637
<div class="card-body">
638
+ {{if ne .Secure "false"}}
638
639
<h3 class="card-title mb-4">请输入访问密码</h3>
639
640
<form method="POST">
640
641
<div class="mb-3">
@@ -646,8 +647,9 @@ const loginTemplate = `<!DOCTYPE html>
646
647
</div>
647
648
<button type="submit" class="btn btn-primary w-100">登录</button>
648
649
</form>
650
+ {{end}}
649
651
{{if ne .Linuxdo "false"}}
650
- OR
652
+ {{if ne .Secure "false"}}OR{{end}}
651
653
<a href="/oauth2/linxdo" class="btn btn-primary w-100" style="background-color: #4cad50;border: solid;">
652
654
<svg width="27" height="27" viewBox="0 0 120 120" xmlns="http://www.w3.org/2000/svg">
653
655
<clipPath id="a"><circle cx="60" cy="60" r="47"/></clipPath>
You can’t perform that action at this time.
0 commit comments