-
-
Save BrightnBubbly/fe45bfd2ae3c8c26bf6923e0d6a030a8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function show($token) | |
{ | |
$invite = Invite::where('token', $token)->firstOrFail(); | |
if ($invite->accepted) { | |
return redirect()->route('home'); | |
} | |
return view('auth.register', compact('invite')); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment