We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e955ede commit 842300bCopy full SHA for 842300b
CHANGES.txt
@@ -1,7 +1,7 @@
1
1.7.5 (unreleased)
2
------------------
3
4
-- Nothing changed yet.
+- openid fixes [amleczko]
5
6
7
1.7.4 (2013-05-07)
por/dashboard/security/openid2.py
@@ -1,5 +1,6 @@
from velruse.providers import google
from velruse.exceptions import ThirdPartyFailure
+from velruse.exceptions import AuthenticationDenied
from pyramid.httpexceptions import HTTPFound
@@ -48,3 +49,6 @@ def process(self, request):
48
49
return super(RedturtleConsumer, self).process(request)
50
except ThirdPartyFailure:
51
raise HTTPFound(location='/')
52
+ except AuthenticationDenied:
53
+ request.add_message('Authentication from google has failed. Try again.', 'error')
54
+ raise HTTPFound(location='/')
0 commit comments