# ~~~
module pop_auth
-import pop_handlers
+import pop_json
+import pop_sessions
import github
# Github OAuth login handler.
return
end
- # FIXME reinit curl before next request to avoid weird 404
- curl = new Curl
-
# Load github user
var gh_api = new GithubAPI(access_token)
var user = gh_api.load_auth_user