Ejemplo n.º 1
0
def was_locked(request):
    try:
        client.unset_was_locked(uuid=get_user(request))
    except ResourceModified:
        return system_error(request, code=msg.RESOURCE_MODIFIED)
    request.session['uuid_pin_was_locked'] = False
    return render(request, 'pin/pin_was_locked.html')
Ejemplo n.º 2
0
def was_locked(request):
    try:
        client.unset_was_locked(uuid=get_user(request))
    except ResourceModified:
        return system_error(request, code=msg.RESOURCE_MODIFIED)
    request.session['uuid_pin_was_locked'] = False
    return render(request, 'pin/pin_was_locked.html')
Ejemplo n.º 3
0
def was_locked(request):
    client.unset_was_locked(uuid=get_user(request))
    request.session['uuid_pin_was_locked'] = False
    return render(request, 'pin/pin_was_locked.html')