You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by se...@apache.org on 2016/11/03 19:00:00 UTC

incubator-ponymail git commit: Remove debugging code

Repository: incubator-ponymail
Updated Branches:
  refs/heads/master 50233de54 -> 68b31787e


Remove debugging code

Project: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/commit/68b31787
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/tree/68b31787
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/diff/68b31787

Branch: refs/heads/master
Commit: 68b31787e6b21d58afa79dee28f8d373bede7e64
Parents: 50233de
Author: Sebb <se...@apache.org>
Authored: Thu Nov 3 18:59:40 2016 +0000
Committer: Sebb <se...@apache.org>
Committed: Thu Nov 3 18:59:40 2016 +0000

----------------------------------------------------------------------
 site/api/oauth.lua | 2 --
 site/api/stats.lua | 1 -
 2 files changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/68b31787/site/api/oauth.lua
----------------------------------------------------------------------
diff --git a/site/api/oauth.lua b/site/api/oauth.lua
index 61bd343..1e0170c 100644
--- a/site/api/oauth.lua
+++ b/site/api/oauth.lua
@@ -49,8 +49,6 @@ function handle(r)
     if get.mode and get.mode == "persona" then
         oauth_domain = "verifier.login.persona.org"
         local result = https.request("https://verifier.login.persona.org/verify", ("assertion=%s&audience=%s://%s:%u/"):format(post.assertion, scheme, r.hostname, r.port))
-        r:err(("assertion=%s&audience=%s://ponymail:443/"):format(post.assertion, scheme))
-        r:err(result)
         valid, json = pcall(function() return JSON.decode(result) end)
         
     -- Google Auth callback

http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/68b31787/site/api/stats.lua
----------------------------------------------------------------------
diff --git a/site/api/stats.lua b/site/api/stats.lua
index 46728d3..854d950 100644
--- a/site/api/stats.lua
+++ b/site/api/stats.lua
@@ -141,7 +141,6 @@ function handle(r)
             qs = "*"
         end
         nqs = table.concat(nx, " OR ")
-        r:err(qs)
     end
     
     local listraw = "<" .. get.list .. "." .. get.domain .. ">"