ci: compile the manual
[nit.git] / lib / popcorn / pop_auth.nit
index 8039ba9..3dd71fb 100644 (file)
@@ -77,6 +77,7 @@
 # ~~~
 module pop_auth
 
+import pop_json
 import pop_sessions
 import github
 
@@ -196,9 +197,6 @@ class GithubOAuthCallBack
                        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