1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2024-12-22 09:00:10 +00:00

Merge pull request #251 from aleksasiriski/patch-1

fixed setExpiry() and added checked to admin only
This commit is contained in:
Harvey Tindall 2023-02-02 09:27:12 +00:00 committed by GitHub
commit 6cd846dfd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -137,7 +137,7 @@
<input type="radio" class="mr-2" name="ui-jellyfin_login" value="true" checked><span>{{ .lang.Login.authorizeWithJellyfin }}</span>
</label>
<label class="row switch pl-4 pb-4">
<input type="checkbox" class="mr-2" id="ui-admin_only"><span>{{ .lang.Login.adminOnly }}</span>
<input type="checkbox" class="mr-2" id="ui-admin_only" checked><span>{{ .lang.Login.adminOnly }}</span>
</label>
<label class="row switch pl-4 pb-2">
<input type="checkbox" class="mr-2" id="ui-allow_all"><span>{{ .lang.Login.allowAll }}</span>

View File

@ -1334,9 +1334,7 @@ export class accountsList {
const list = this._collectUsers();
let applyList: string[] = [];
for (let id of list) {
if (this._users[id].expiry || enableUser) {
applyList.push(id);
}
applyList.push(id);
}
this._enableExpiryReason.classList.add("unfocused");
let header: string;