mirror of
				https://github.com/i701/sarlink-portal.git
				synced 2025-11-04 06:26:59 +00:00 
			
		
		
		
	fix: correct user verification logic in VerifyRegistrationOTP function
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Build and Push Docker Images / Build and Push Docker Images (push) Successful in 4m42s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	Build and Push Docker Images / Build and Push Docker Images (push) Successful in 4m42s
				
			This commit is contained in:
		@@ -198,7 +198,7 @@ export async function VerifyRegistrationOTP(
 | 
			
		||||
		// 	redirect(`/auth/verify-otp?phone_number=${mobile}`);
 | 
			
		||||
		// }
 | 
			
		||||
	}
 | 
			
		||||
	if (data.message !== "User created successfully.") {
 | 
			
		||||
	if (data.message === "User created successfully.") {
 | 
			
		||||
		return {
 | 
			
		||||
			message: "Your account could not be verified. Please contact support.",
 | 
			
		||||
			status: "verify_error",
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user