Category: Laravel

Here is the user story for this post: As a website owner I only want to allow access to my website for visitors who enter the correct PIN. When you enter the page for the first time, you will just see an input to enter a PIN. When you enter the wrong PIN, it fails silently and just reloads the page. If you enter the right PIN, it will save a cookie access and shows you the welcome page.

You can find the full source code on https://github.com/minthemiddle/pin-tutorial: Martin Betz, 2020 • Privacy/GDPR • Imprint
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Community Partners