Remove print
This commit is contained in:
		@@ -3,7 +3,6 @@ package models
 | 
				
			|||||||
import (
 | 
					import (
 | 
				
			||||||
	"GoWeb/app"
 | 
						"GoWeb/app"
 | 
				
			||||||
	"database/sql"
 | 
						"database/sql"
 | 
				
			||||||
	"fmt"
 | 
					 | 
				
			||||||
	"log"
 | 
						"log"
 | 
				
			||||||
	"net/http"
 | 
						"net/http"
 | 
				
			||||||
	"strconv"
 | 
						"strconv"
 | 
				
			||||||
@@ -117,7 +116,6 @@ func AuthenticateUser(app *app.App, w http.ResponseWriter, username string, pass
 | 
				
			|||||||
		log.Println(err)
 | 
							log.Println(err)
 | 
				
			||||||
		return Session{}, err
 | 
							return Session{}, err
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	fmt.Println(user)
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// Validate password
 | 
						// Validate password
 | 
				
			||||||
	err = bcrypt.CompareHashAndPassword([]byte(user.Password), []byte(password))
 | 
						err = bcrypt.CompareHashAndPassword([]byte(user.Password), []byte(password))
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user