normalized internal errors formatting

This commit is contained in:
Gani Georgiev
2024-07-09 22:18:04 +03:00
parent 1f08b70283
commit 01450cde44
9 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -653,7 +653,7 @@ func (c AuthProviderConfig) Validate() error {
// SetupProvider loads the current AuthProviderConfig into the specified provider.
func (c AuthProviderConfig) SetupProvider(provider auth.Provider) error {
if !c.Enabled {
return errors.New("The provider is not enabled.")
return errors.New("the provider is not enabled")
}
if c.ClientId != "" {