web/SOURCES/authelia-sqlite-disable.patch

12 lines
531 B
Diff

--- internal/commands/root.go 2021-08-06 00:18:47.962288285 +0200
+++ internal/commands/root.go 2021-08-06 00:19:01.342647270 +0200
@@ -93,8 +93,6 @@
storageProvider = storage.NewPostgreSQLProvider(*config.Storage.PostgreSQL)
case config.Storage.MySQL != nil:
storageProvider = storage.NewMySQLProvider(*config.Storage.MySQL)
- case config.Storage.Local != nil:
- storageProvider = storage.NewSQLiteProvider(config.Storage.Local.Path)
default:
errors = append(errors, fmt.Errorf("unrecognized storage provider"))
}