Learn how to develop functionality in PHP that requires a user to confirm their email address before they can login.
Once they sign up, they'll have to click on a link in an email to activate their account. If they don't do that, they can't login.
Please consider supporting my channel:
☕ https://ko-fi.com/davehollingworth
This is part 3 of Signup and Login with PHP and MySQL:
Part 1: Signup and Login with PHP and MySQL:
‣ • Signup and Login with PHP and MySQL
Part 2: PHP Password Reset by Email:
‣ • PHP Password Reset by Email
Code shown in the video:
‣ https://github.com/daveh/php-account-...
00:00 Introduction
00:20 Starting Point
01:16 How it will work
01:59 Database changes
02:40 Initial Code
02:58 Generate Activation Token
04:21 Change Signup Success
04:45 Send Activation Email
06:35 Activate the Account
08:17 Prevent Login Until Activated
09:46 Summary
#PHP #MySQL #signup #login #activation