Browse Source

Remove default password, require from env

Toni Fadjukoff 7 years ago
parent
commit
8fe98e6fad
1 changed files with 1 additions and 1 deletions
  1. 1 1
      auth.go

+ 1 - 1
auth.go View File

@@ -74,7 +74,7 @@ func sessionExpirer() {
74 74
 func init() {
75 75
 	go sessionExpirer()
76 76
 
77
-	connStr := "user=levyraati password=levyraati dbname=levyraati sslmode=disable"
77
+	connStr := "user=levyraati dbname=levyraati sslmode=disable"
78 78
 	var err error
79 79
 	db, err = sql.Open("postgres", connStr)
80 80
 	if err != nil {