authenticate: fix impersonation getting cleared (#411)

This commit is contained in:
Bobby DeSimone 2019-11-30 10:54:32 -08:00 committed by GitHub
parent edba21e0c9
commit 74cd9eabbb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 30 additions and 11 deletions

View file

@ -201,7 +201,7 @@
<label>
<span>Email</span>
<input
name="email"
name="{{ .ImpersonateEmail }}"
type="email"
class="field"
value=""
@ -211,7 +211,7 @@
<label>
<span>Group</span>
<input
name="group"
name=" {{ .ImpersonateGroups }}"
type="text"
class="field"
value=""
@ -222,8 +222,13 @@
</section>
<div class="flex">
{{ .csrfField }}
<button class="button full" type="submit">
Impersonate session
<button
name="{{ .ImpersonateAction }}"
value="set"
class="button full"
type="submit"
>
Impersonate
</button>
</div>
</form>