Browse Source

Remove default password, require from env

Toni Fadjukoff 6 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
 func init() {
74
 func init() {
75
 	go sessionExpirer()
75
 	go sessionExpirer()
76
 
76
 
77
-	connStr := "user=levyraati password=levyraati dbname=levyraati sslmode=disable"
77
+	connStr := "user=levyraati dbname=levyraati sslmode=disable"
78
 	var err error
78
 	var err error
79
 	db, err = sql.Open("postgres", connStr)
79
 	db, err = sql.Open("postgres", connStr)
80
 	if err != nil {
80
 	if err != nil {