mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-12-23 01:20:11 +00:00
Merge pull request #251 from aleksasiriski/patch-1
fixed setExpiry() and added checked to admin only
This commit is contained in:
commit
6cd846dfd8
@ -137,7 +137,7 @@
|
|||||||
<input type="radio" class="mr-2" name="ui-jellyfin_login" value="true" checked><span>{{ .lang.Login.authorizeWithJellyfin }}</span>
|
<input type="radio" class="mr-2" name="ui-jellyfin_login" value="true" checked><span>{{ .lang.Login.authorizeWithJellyfin }}</span>
|
||||||
</label>
|
</label>
|
||||||
<label class="row switch pl-4 pb-4">
|
<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>
|
||||||
<label class="row switch pl-4 pb-2">
|
<label class="row switch pl-4 pb-2">
|
||||||
<input type="checkbox" class="mr-2" id="ui-allow_all"><span>{{ .lang.Login.allowAll }}</span>
|
<input type="checkbox" class="mr-2" id="ui-allow_all"><span>{{ .lang.Login.allowAll }}</span>
|
||||||
|
@ -1334,10 +1334,8 @@ export class accountsList {
|
|||||||
const list = this._collectUsers();
|
const list = this._collectUsers();
|
||||||
let applyList: string[] = [];
|
let applyList: string[] = [];
|
||||||
for (let id of list) {
|
for (let id of list) {
|
||||||
if (this._users[id].expiry || enableUser) {
|
|
||||||
applyList.push(id);
|
applyList.push(id);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
this._enableExpiryReason.classList.add("unfocused");
|
this._enableExpiryReason.classList.add("unfocused");
|
||||||
let header: string;
|
let header: string;
|
||||||
if (enableUser) {
|
if (enableUser) {
|
||||||
|
Loading…
Reference in New Issue
Block a user