File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,13 +59,13 @@ public function callback(string $provider): RedirectResponse
5959 $ socialAccountByEmail = Social::getUserBySocialAccoutEmail ($ provider , $ socialite ->email );
6060
6161 if ($ socialAccountByEmail ->first ()) {
62- throw new Exception ('Can \'t unlink social account with different email address ' );
62+ throw new Exception ('Can \'t unlink social account with different email address. ' );
6363 }
6464
6565 $ socialAccontsByUserId = Social::getUserBySocialUserId ($ provider , $ this ->user ->id );
6666
6767 if ($ socialAccontsByUserId ->first ()) {
68- throw new Exception ('Can \'t unlink social account with different email address ' );
68+ throw new Exception ('Can \'t unlink social account with different email address. ' );
6969 }
7070
7171 $ socialData = [
@@ -128,7 +128,7 @@ public function callback(string $provider): RedirectResponse
128128 return $ this ->redirectBack ();
129129 }
130130
131- throw new Exception ('Your ' . $ provider . " account isn't connected to your profile yet " );
131+ throw new Exception ('Your ' . $ provider . " account isn't connected to your profile yet. " );
132132 } catch (Exception $ error ) {
133133 Session::flash ('error ' , $ error ->getMessage ());
134134
You can’t perform that action at this time.
0 commit comments