mirror of
https://github.com/jech/galene.git
synced 2024-11-10 02:35:58 +01:00
Allow tokens with small expiration times.
There was a typo that prevented tokens with less than two days validity.
This commit is contained in:
parent
0d7d54751a
commit
5fe578dcf5
1 changed files with 1 additions and 1 deletions
|
@ -2154,7 +2154,7 @@ function inviteMenu() {
|
||||||
let ex = getInputElement('invite-expires');
|
let ex = getInputElement('invite-expires');
|
||||||
let expires = new Date(now);
|
let expires = new Date(now);
|
||||||
expires.setDate(expires.getDate() + 2);
|
expires.setDate(expires.getDate() + 2);
|
||||||
ex.min = dateToInput(expires);
|
ex.min = dateToInput(now);
|
||||||
ex.value = dateToInput(expires);
|
ex.value = dateToInput(expires);
|
||||||
d.showModal();
|
d.showModal();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue