agree create 3
This commit is contained in:
parent
637f4d2a55
commit
1cd3795b87
@ -56,7 +56,6 @@ def gdpr_create_agree(request):
|
|||||||
data = json.dumps([request.user.username, request.user.first_name, request.user.last_name, request.user.email])
|
data = json.dumps([request.user.username, request.user.first_name, request.user.last_name, request.user.email])
|
||||||
sha256 = hashlib.sha256()
|
sha256 = hashlib.sha256()
|
||||||
sha256.update(data.encode('utf-8'))
|
sha256.update(data.encode('utf-8'))
|
||||||
request.session['samlBackend'] = request.user.backend
|
|
||||||
request.user.delete()
|
request.user.delete()
|
||||||
request.session['samlPersoonsgegevensHash'] = sha256.hexdigest()
|
request.session['samlPersoonsgegevensHash'] = sha256.hexdigest()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user