From 1d004e3d3f5226370cec9ed822aaf1b578a4df4f Mon Sep 17 00:00:00 2001 From: bjoern-m Date: Tue, 30 Jul 2024 18:08:17 +0200 Subject: [PATCH] fix: nil pointer after registration --- backend/flow_api/flow/flows.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/flow_api/flow/flows.go b/backend/flow_api/flow/flows.go index b0d642830..cd04a46f8 100644 --- a/backend/flow_api/flow/flows.go +++ b/backend/flow_api/flow/flows.go @@ -112,9 +112,9 @@ var RegistrationFlow = flowpilot.NewFlow(shared.FlowRegistration). shared.StateRegistrationInit). ErrorState(shared.StateError). BeforeState(shared.StateSuccess, + shared.GetUserData{}, registration.CreateUser{}, - shared.IssueSession{}, - shared.GetUserData{}). + shared.IssueSession{}). SubFlows( CapabilitiesSubFlow, CredentialUsageSubFlow,