add flag to enable user impersonation (#1514)

* add flag to enable user impersonation

* fix typo
This commit is contained in:
Caleb Doxsey 2020-10-14 08:17:59 -06:00 committed by GitHub
parent 0b14722be4
commit 04c582121d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 254 additions and 208 deletions

View file

@ -616,6 +616,7 @@ func TestAuthenticate_Dashboard(t *testing.T) {
t.Fatal(err)
}
a := &Authenticate{
options: config.NewAtomicOptions(),
state: newAtomicAuthenticateState(&authenticateState{
sessionStore: tt.sessionStore,
encryptedEncoder: signer,