File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -161,10 +161,12 @@ def showDecidePage(request, openid_request):
161161 idSelect = openid_request .idSelect ()
162162 identity = openid_request .identity
163163 trust_root = openid_request .trust_root
164+ default_url = getUserURL (request )
164165
165166 return 'server/trust.html' , {'idSelect' : idSelect ,
166167 'identity' : identity ,
167- 'trust_root' : trust_root ,}
168+ 'trust_root' : trust_root ,
169+ 'default_url' : default_url }
168170
169171@util .sendResponse
170172def processTrustResult (request ):
Original file line number Diff line number Diff line change 55The site < tt > {{ trust_root|escape }}</ tt > has requested verification
66of your OpenID.
77
8+ < div >
89< form method ="post " action ="/server/processTrustResult/ ">
910{% if idSelect %}
11+ < p >
1012 Because you entered the server URL when authenticating, enter a
1113 username here to return an identity URL of your choice:
1214
15+ < br />
1316 < input type ="text " name ="name " size ="30 " />
17+ (If you omit this, < tt > {{ default_url }}</ tt > will be sent instead.)
18+ </ p >
1419{% else %}
1520 Verify your identity to the relying party?
1621{% endif %}
1722
18- < input type ="submit " value ="Yes " name ="allow " />
19- < input type ="submit " value ="No " name ="cancel " />
23+ < br />
24+ < input type ="submit " value ="Yes (Allow) " name ="allow " />
25+ < input type ="submit " value ="No (Cancel) " name ="cancel " />
2026</ form >
27+ </ div >
2128
2229{% endblock %}
You can’t perform that action at this time.
0 commit comments