Sets default value for auth assets
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user