dairiki committed 66e02fa Draft Merge

Merge pull request #16 from sleske/bugfix-auth-aborted

Fix error message if users cancels verification.

Comments (0)

Files changed (1)


         # us.  Status is a code indicating the response type. info is
         # either None or a string containing more information about
         # the return type.
-        info = oidconsumer.complete(req.args,req.args['openid.return_to'])
+        current_url = req.abs_href(req.path_info)
+        info = oidconsumer.complete(req.args,current_url)
         css_class = 'error'
         if info.status == consumer.FAILURE and info.identity_url: