2023-07-23 06:29:01 +00:00
|
|
|
{{define "title"}}G Pas | Je n'ai pas mon mal de passe{{end}}
|
|
|
|
|
|
|
|
{{define "body"}}
|
2023-07-23 06:22:09 +00:00
|
|
|
<h2>G Pas</h2>
|
|
|
|
|
|
|
|
<p>Refaire son mot de passe</p>
|
|
|
|
|
|
|
|
{{if .ErrorMessage}}
|
|
|
|
<div class="alert alert-danger">Impossible
|
|
|
|
<div style="font-size: 0.8em">{{ .ErrorMessage }}</div>
|
|
|
|
</div>
|
|
|
|
{{end}}
|
|
|
|
{{if .Success}}
|
|
|
|
<div class="alert alert-success mt-4">
|
|
|
|
Email envoyé au courriel de secours.
|
|
|
|
</div>
|
|
|
|
{{end}}
|
|
|
|
|
|
|
|
<form method="POST">
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="username">Identifiant :</label>
|
|
|
|
<input type="text" name="username" id="username" class="form-control" value="{{ .Username }}" />
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
2023-07-23 06:36:59 +00:00
|
|
|
<label for="mail">Mail (interne aux GV) :</label>
|
2023-07-23 06:22:09 +00:00
|
|
|
<input type="text" name="mail" id="mail" class="form-control" value="{{ .Mail }}" />
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
2023-07-23 06:36:59 +00:00
|
|
|
<label for="othermailbox">Mail de secours :</label>
|
2023-07-23 06:22:09 +00:00
|
|
|
<input type="text" name="othermailbox" id="othermailbox" class="form-control" value="{{ .OtherMailbox }}" />
|
2023-07-23 06:29:01 +00:00
|
|
|
</div>
|
2023-07-23 06:34:06 +00:00
|
|
|
<button type="submit" class="btn btn-primary">Refaire son mal de passe</button>
|
|
|
|
</form>
|
|
|
|
<script src="/static/javascript/minio.js"></script>
|
2023-07-23 06:29:01 +00:00
|
|
|
{{end}}
|