Can create accounts automatically for a given upstream provider
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		| @@ -150,6 +150,10 @@ pub enum Action<'a> { | ||||
|         provider: &'a Provider, | ||||
|         email: &'a str, | ||||
|     }, | ||||
|     ProviderAccountAutoCreated { | ||||
|         provider: &'a Provider, | ||||
|         user: LoggableUser, | ||||
|     }, | ||||
|     ProviderAccountDisabled { | ||||
|         provider: &'a Provider, | ||||
|         email: &'a str, | ||||
| @@ -282,6 +286,11 @@ impl Action<'_> { | ||||
|                 "could not login using provider {} because the email {email} could not be associated to any account!", | ||||
|                 &provider.id.0 | ||||
|             ), | ||||
|             Action::ProviderAccountAutoCreated { provider, user } => format!( | ||||
|                 "triggered automatic account creation for {} from provider {} because it was not found in local accounts list!", | ||||
|                 user.quick_identity(), | ||||
|                 &provider.id.0 | ||||
|             ), | ||||
|             Action::ProviderAccountDisabled { provider, email } => format!( | ||||
|                 "could not login using provider {} because the account associated to the email {email} is disabled!", | ||||
|                 &provider.id.0 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user