mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-09 16:25:15 +03:00
groups: add expiration date override
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
@@ -426,7 +426,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
<textarea class="form-control" id="idEmailRecipients" name="email_recipients" rows="2" placeholder=""
|
||||
aria-describedby="smtpRecipientsHelpBlock">{{.Action.Options.EmailConfig.GetRecipientsAsString}}</textarea>
|
||||
<small id="smtpRecipientsHelpBlock" class="form-text text-muted">
|
||||
Comma separated email recipients
|
||||
Comma separated email recipients. Placeholders are supported
|
||||
</small>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -706,6 +706,17 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<label for="idExpiresIn" class="col-sm-2 col-form-label">Expires in</label>
|
||||
<div class="col-sm-10">
|
||||
<input type="number" class="form-control" id="idExpiresIn" name="expires_in"
|
||||
value="{{.Group.UserSettings.ExpiresIn}}" min="0" aria-describedby="expiresInHelpBlock">
|
||||
<small id="expiresInHelpBlock" class="form-text text-muted">
|
||||
Account expiration as number of days from the creation. 0 means no expiration
|
||||
</small>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<label for="idPasswordExpiration" class="col-sm-2 col-form-label">Password expiration</label>
|
||||
<div class="col-sm-10">
|
||||
|
||||
Reference in New Issue
Block a user