mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-29 15:38:52 +00:00
fix: cookie handling (#654)
* feat: set cookie prefix and max age * cookie prefix on csrf cookie * fix: check user agent cookie in login * update oidc pkg * cleanup
This commit is contained in:
@@ -9,6 +9,6 @@ type Config struct {
|
||||
Handler handler.Config
|
||||
}
|
||||
|
||||
func Start(config Config, authRepo *eventsourcing.EsRepository, pathPrefix string) *handler.Login {
|
||||
return handler.CreateLogin(config.Handler, authRepo, pathPrefix)
|
||||
func Start(config Config, authRepo *eventsourcing.EsRepository, localDevMode bool) (*handler.Login, string) {
|
||||
return handler.CreateLogin(config.Handler, authRepo, localDevMode)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user