Actually,I want to redirect my user to the email verification page after signup process and asking him/her to enter the verification code sent to his/her email. I will be glad if you tell me the process or recommend me any tutorial.
I have already made my working authentication system . I have searched a lot on internet but all i can find is the requirement of laravel auth which i am not using.
On signing up I am getting the error:
stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
If you need to see my code , just tell me. I'll post it.
UserController.php: http://laravel.io/bin/nQreq Routes.php: http://laravel.io/bin/JxjNB
You should add below code in /config/mail.php ( worked on laravel 5.4 )
'stream' => [
'ssl' => [
'allow_self_signed' => true,
'verify_peer' => false,
'verify_peer_name' => false,
],
],
and .env mail setting will be something like
MAIL_DRIVER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=587
MAIL_USERNAME=yourEmail
MAIL_PASSWORD=youPassword
MAIL_ENCRYPTION=tls
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.