hlfw.ca

webbing

Download patch

ref: 1ab3b0626f874c5bc9da2aa2672c9e9325c01ca4
parent: e7a68f17cbe9bc49fb1b3d719f51e6d758030aae
author: Michael Misch <michaelmisch1985@gmail.com>
date: Sat Nov 9 02:45:15 PST 2019

Start moving SessionTokens

--- a/router/pages.go
+++ b/router/pages.go
@@ -108,13 +108,7 @@
 	if p.session != nil && cache.Extra&FormErrors != 0 {
 		r["errors"] = p.session.Get("errors")
 	}
-	if p.session != nil && cache.Extra&SessionToken != 0 {
-		// TODO(halfwit) once database is live
-		// session token is a temporary db entry
-		// keyed by token which returns the current session data at this point
-		// useful for things like offers while a patient fills out symptoms
-		//i["sessiontoken"] = db.SetData("offer", p.sessionsomething)
-	}
+
 	//if cache.Extra&ClientName != 0 {
 	//	i["firstname"] = db.ClientName(p.session)
 	//}