mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2025-10-29 05:05:42 +00:00
refactor: move resource handling to a controller
This commit is contained in:
@@ -33,6 +33,7 @@ var rootCmd = &cobra.Command{
|
||||
conf.GoogleClientSecret = utils.GetSecret(conf.GoogleClientSecret, conf.GoogleClientSecretFile)
|
||||
conf.GenericClientSecret = utils.GetSecret(conf.GenericClientSecret, conf.GenericClientSecretFile)
|
||||
|
||||
// Validate config
|
||||
validator := validator.New()
|
||||
|
||||
err = validator.Struct(conf)
|
||||
|
||||
Reference in New Issue
Block a user