mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-19 17:50:17 +02:00
authenticate: fix impersonation getting cleared (#411)
This commit is contained in:
parent
edba21e0c9
commit
74cd9eabbb
6 changed files with 30 additions and 11 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue