This commit is contained in:
scs 2018-12-27 22:19:47 +00:00
parent 4125dd0196
commit b5ea9955cb
1 changed files with 1 additions and 0 deletions

View File

@ -89,6 +89,7 @@ func Register(username, email, ip string) bool {
}
func Login(username, password string) bool {
log.Println("Attempting login for "+ username)
q:=fmt.Sprintf("select password from %s_auth where username=$1",c.TablePrefix)
var crypt string
err:=c.db.Get(&crypt, q, username)