~stephen-stewart/canonical-identity-provider/ubuntuone-account-layout

« back to all changes in this revision

Viewing changes to webui/views/ui.py

  • Committer: Tarmac
  • Author(s): Michael Nelson
  • Date: 2013-04-23 15:55:43 UTC
  • mfrom: (816.1.5 no-cookies-for-login)
  • Revision ID: tarmac-20130423155543-h5pm7d4mnzh3wi6a
[r=ricardokirkner] Never 302 for the account-index '/' view.

Show diffs side-by-side

added added

removed removed

Lines of Context:
194
194
        return self.render(request, token, rpconfig, form_cls(),
195
195
                           create_account_form)
196
196
 
197
 
    @method_decorator(requires_cookies)
198
197
    def post(self, request, token=None, rpconfig=None):
199
198
        rpconfig = self.setup(request, token, rpconfig)
200
199
        result = self.get_login_type(request, token, rpconfig)
258
257
    @method_decorator(guest_required)
259
258
    @method_decorator(dont_cache)
260
259
    @method_decorator(limitlogin())
 
260
    @method_decorator(requires_cookies)
261
261
    def dispatch(self, *args, **kwargs):
262
262
        return super(LoginView, self).dispatch(*args, **kwargs)
263
263