diff --git a/confluent_server/confluent/selfservice.py b/confluent_server/confluent/selfservice.py index 57dd625e..76be184e 100644 --- a/confluent_server/confluent/selfservice.py +++ b/confluent_server/confluent/selfservice.py @@ -178,6 +178,8 @@ def handle_request(env, start_response): updates = {} if pending: updates['deployment.pendingprofile'] = {'value': ''} + if targattr == 'deployment.profile': + updates['deployment.stagedprofile'] = {'value': ''} currprof = currattr.get(targattr, {}).get('value', '') if currprof != pending: updates[targattr] = {'value': pending}