Révision 99d9ade2
Ajouté par Josué Kouka il y a plus de 8 ans
mandayejs/mandaye/views.py | ||
---|---|---|
126 | 126 |
user__username=request.user.username) |
127 | 127 |
c_user.linked = False |
128 | 128 |
c_user.save() |
129 |
return HttpResponseRedirect(resolve_url('mellon_logout')) |
|
129 |
logger.debug("{} dissacioted".format(c_user.user.username)) |
|
130 |
response = HttpResponseRedirect('/') |
|
131 |
for cookie_key in getattr(settings, 'SITE_AUTH_COOKIE_KEYS', []): |
|
132 |
response.delete_cookie(cookie_key) |
|
133 |
logger.debug("cookie {} deleted".format(cookie_key)) |
|
134 |
return response |
|
130 | 135 |
except (UserCredentials.DoesNotExist,): |
131 | 136 |
return HttpResponseRedirect(resolve_url('associate')) |
132 | 137 |
|
Formats disponibles : Unified diff
dissociate doesn't disconnect from GRC (#9525)