From 5d3c767bf8d32928629e550c0d25e8b06ab616db Mon Sep 17 00:00:00 2001 From: Denis Arh Date: Wed, 24 Feb 2021 10:02:23 +0100 Subject: [PATCH] Sets default value for auth assets --- pkg/options/auth.gen.go | 1 + pkg/options/auth.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/pkg/options/auth.gen.go b/pkg/options/auth.gen.go index 7daa6c9cf..5252fa925 100644 --- a/pkg/options/auth.gen.go +++ b/pkg/options/auth.gen.go @@ -60,6 +60,7 @@ func Auth() (o *AuthOpt) { CsrfFieldName: "same-site-authenticity-token", CsrfCookieName: "same-site-authenticity-token", DefaultClient: "corteza-webapp", + AssetsPath: "auth/assets", } fill(o) diff --git a/pkg/options/auth.yaml b/pkg/options/auth.yaml index 3ffbc09ad..4b5282139 100644 --- a/pkg/options/auth.yaml +++ b/pkg/options/auth.yaml @@ -135,6 +135,7 @@ props: the need to suply redirection URL and client ID (oauth2/go endpoint does that internally) - name: assetsPath + default: "auth/assets" description: |- Path to js, css, images and template source files