Revert "updates on the otp updates on the customer app"

This reverts commit 89321c9e06.
This commit is contained in:
2026-09-15 11:58:53 +05:30
parent 89321c9e06
commit 5c73d769ca
17 changed files with 68 additions and 1071 deletions

View File

@@ -84,15 +84,6 @@ func main() {
_ = godotenv.Load()
cfg := config.Load()
// Refuse to start on configuration that would be unsafe rather than merely
// wrong. JWT_SECRET_KEY used to default to a literal in config.go, which
// meant a clone of this repository was enough to mint a valid token for any
// account on any deployment that had not overridden it.
if err := cfg.Validate(); err != nil {
utils.Error("invalid configuration — refusing to start", "error", err)
os.Exit(1)
}
utils.Info("Starting Doormile Backend...")
// 2. Connect to Postgres, Redis & NATS