fix: login prefix for handler (#674)

This commit is contained in:
Livio Amstutz 2020-08-31 19:35:34 +02:00 committed by GitHub
parent 5abd5b0505
commit c55b9ff40c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,7 +76,7 @@ func CreateLogin(config Config, authRepo *eventsourcing.EsRepository, localDevMo
login.router = CreateRouter(login, statikFS, csrf, cache, security, userAgentCookie)
login.renderer = CreateRenderer(prefix, statikFS, config.LanguageCookieName, config.DefaultLanguage)
login.parser = form.NewParser()
return login, prefix
return login, handlerPrefix
}
func csp() *middleware.CSP {