def _bail(self, reason):
# Used for bailing on a login attempt; reshows the login page
c.error = reason
- c.attempted_openid = request.params.get('openid', '')
+ c.attempted_openid = request.params.get('openid_identifier', '')
return render('/users/login.mako')
cons = Consumer(session=session, store=self.openid_store)
try:
- openid_url = request.params['openid']
+ openid_url = request.params['openid_identifier']
except KeyError:
return self._bail("Gotta enter an OpenID to log in.")
${h.form(url(controller='accounts', action='login_begin'), id='user')}
<img src="${h.static_uri('spline', 'icons/openid.png')}">
- <input type="text" name="openid" size="30" value="${c.attempted_openid or ''}">
+ <input type="text" name="openid_identifier" size="30" value="${c.attempted_openid or ''}">
<input type="submit" value="Log in">
${h.end_form()}