feat(authn): add templatized error page
Some checks reported errors
Cadoles/bouncer/pipeline/head Something is wrong with the build of this commit
Some checks reported errors
Cadoles/bouncer/pipeline/head Something is wrong with the build of this commit
ref CNOUS/mse#3907
This commit is contained in:
@ -17,6 +17,7 @@ type LayerOptions struct {
|
||||
|
||||
type TemplatesOptions struct {
|
||||
Forbidden TemplateOptions `mapstructure:"forbidden"`
|
||||
Error TemplateOptions `mapstructure:"error"`
|
||||
}
|
||||
|
||||
type TemplateOptions struct {
|
||||
@ -43,6 +44,9 @@ func DefaultLayerOptions() LayerOptions {
|
||||
Forbidden: TemplateOptions{
|
||||
Block: "default",
|
||||
},
|
||||
Error: TemplateOptions{
|
||||
Block: "default",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user