Added else clause
This commit is contained in:
		
							parent
							
								
									a76599bd2a
								
							
						
					
					
						commit
						77d7f764f1
					
				| 
						 | 
					@ -55,7 +55,9 @@ class SocialAuthService
 | 
				
			||||||
        if ($socialDriver == 'google') {
 | 
					        if ($socialDriver == 'google') {
 | 
				
			||||||
            return $this->socialite->driver($driver)->with(['prompt' => 'select_account'])->redirect();
 | 
					            return $this->socialite->driver($driver)->with(['prompt' => 'select_account'])->redirect();
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        return $this->socialite->driver($driver)->redirect();
 | 
					        else {
 | 
				
			||||||
 | 
					            return $this->socialite->driver($driver)->redirect();
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /**
 | 
					    /**
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue