mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-12-28 03:50:10 +00:00
Compare commits
3 Commits
2f4e68969a
...
bb41bc3844
Author | SHA1 | Date | |
---|---|---|---|
bb41bc3844 | |||
39f6d14163 | |||
941367f77b |
@ -97,6 +97,7 @@ func (app *appContext) loadConfig() error {
|
||||
app.MustSetValue("smtp", "hello_hostname", "localhost")
|
||||
app.MustSetValue("smtp", "cert_validation", "true")
|
||||
app.MustSetValue("smtp", "auth_type", "4")
|
||||
app.MustSetValue("smtp", "port", "465")
|
||||
|
||||
app.MustSetValue("activity_log", "keep_n_records", "1000")
|
||||
app.MustSetValue("activity_log", "delete_after_days", "90")
|
||||
@ -151,6 +152,9 @@ func (app *appContext) loadConfig() error {
|
||||
app.MustSetValue("advanced", "auth_retry_count", "6")
|
||||
app.MustSetValue("advanced", "auth_retry_gap", "10")
|
||||
|
||||
app.MustSetValue("ui", "port", "8056")
|
||||
app.MustSetValue("advanced", "tls_port", "8057")
|
||||
|
||||
pwrMethods := []string{"allow_pwr_username", "allow_pwr_email", "allow_pwr_contact_method"}
|
||||
allDisabled := true
|
||||
for _, v := range pwrMethods {
|
||||
|
@ -574,7 +574,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<header>
|
||||
<div class="flex flex-row overflow-x-scroll items-center gap-2">
|
||||
<div class="flex flex-row overflow-x-auto items-center gap-2">
|
||||
<span id="button-tab-invites" class="text-3xl button portal ~neutral dark:~d_neutral @low px-5">{{ .strings.invites }}</span>
|
||||
<span id="button-tab-accounts" class="text-3xl button portal ~neutral dark:~d_neutral @low px-5">{{ .strings.accounts }}</span>
|
||||
<span id="button-tab-activity" class="text-3xl button portal ~neutral dark:~d_neutral @low px-5">{{ .strings.activity }}</span>
|
||||
|
@ -132,7 +132,7 @@ class user implements User, SearchableItem {
|
||||
}
|
||||
}
|
||||
|
||||
get disabled(): boolean { return this._disabled.classList.contains("chip"); }
|
||||
get disabled(): boolean { return !(this._disabled.classList.contains("hidden")); }
|
||||
set disabled(state: boolean) {
|
||||
if (state) {
|
||||
this._disabled.classList.remove("hidden")
|
||||
|
Loading…
Reference in New Issue
Block a user