Hi guys,
Im working on a personal project, and I would like that once a user registers, he/she sees a popup that shows all the registration details(Username, Password, Phone Number etc) and then he can screenshot the details and click 'okay".
Right now, ive been able to code it to the point where it redirects to login after registration. But no popup shows.
Here is what i have currently in my registercontroller.php file:
}
public function register(Request $request)
{
$this->validator($request->all())->validate();
event(new Registered($user = $this->create($request->all())));
// $this->guard()->login($user);
return $this->registered($request, $user)
?: redirect($this->redirectPath());
}
After successful registration, Id like a popup to show something like
"Hello [Firstname], Your registration is successful. Here are your details:
Usermane:
Password:
Phone Number:
Email:"
{CLose}. {Proceed to Login}
P.S. Im still a newbie to laravel, tthank you all