(app *App, r *http.Request)
| 135 | } |
| 136 | |
| 137 | func getFullUserSession(app *App, r *http.Request) (*User, error) { |
| 138 | u := getUserSession(app, r) |
| 139 | if u == nil { |
| 140 | return nil, nil |
| 141 | } |
| 142 | |
| 143 | var err error |
| 144 | u, err = app.db.GetUserByID(u.ID) |
| 145 | return u, err |
| 146 | } |
nothing calls this directly
no test coverage detected