Projet

Général

Profil

0001-views-pass-service-field-to-fc-login-post-registrati.patch

Benjamin Dauvergne, 08 octobre 2018 12:21

Télécharger (977 octets)

Voir les différences:

Subject: [PATCH] views: pass service field to fc login post registration
 (fixes #21908)

 src/authentic2_auth_fc/views.py | 2 ++
 1 file changed, 2 insertions(+)
src/authentic2_auth_fc/views.py
459 459
        params = {
460 460
            REDIRECT_FIELD_NAME: redirect_to,
461 461
        }
462
        if constants.SERVICE_FIELD_NAME in request.GET:
463
            params[constants.SERVICE_FIELD_NAME] = request.GET[constants.SERVICE_FIELD_NAME]
462 464
        if self.get_in_popup():
463 465
            params['popup'] = ''
464 466
        redirect_to = a2_utils.make_url('fc-login-or-link', params=params)
465
-