stages/identification: add option to pretend user exists (#7610)
* stages/identification: add option to pretend user exists Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix tests? Signed-off-by: Jens Langhammer <jens@goauthentik.io> * update docs Signed-off-by: Jens Langhammer <jens@goauthentik.io> * test CI permission fix Signed-off-by: Jens Langhammer <jens@goauthentik.io> --------- Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
		@ -472,6 +472,7 @@ class TestFlowExecutor(FlowTestCase):
 | 
			
		||||
        ident_stage = IdentificationStage.objects.create(
 | 
			
		||||
            name="ident",
 | 
			
		||||
            user_fields=[UserFields.E_MAIL],
 | 
			
		||||
            pretend_user_exists=False,
 | 
			
		||||
        )
 | 
			
		||||
        FlowStageBinding.objects.create(
 | 
			
		||||
            target=flow,
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user