We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0fb0db8 + ff3f7c5 commit ca75e9bCopy full SHA for ca75e9b
pkg/config/config.go
@@ -854,9 +854,6 @@ func (c *config) Validate(fsys fs.FS) error {
854
return errors.Errorf("failed to decode signing keys: %w", err)
855
}
856
857
- if err := c.Auth.generateAPIKeys(); err != nil {
858
- return err
859
- }
860
if err := c.Auth.Hook.validate(); err != nil {
861
return err
862
@@ -876,6 +873,9 @@ func (c *config) Validate(fsys fs.FS) error {
876
873
877
874
878
875
+ if err := c.Auth.generateAPIKeys(); err != nil {
+ return err
+ }
879
// Validate functions config
880
for name := range c.Functions {
881
if err := ValidateFunctionSlug(name); err != nil {
0 commit comments