Join Joseph Lowery for an in-depth discussion in this video Logging in and out, part of Learning Laravel.
Okay, now we're cooking.…The registration side…of our authentication app is up and running.…In this lesson,…we'll add in the ability to 'Log In' and 'Log Out',…once you've registered.…The cool thing is…we can really leverage the work we've already done.…So it'll start to come together very quickly.…If you think of it,…logging in with your username and password…is very similar to registering with…email, username, and password.…So, let's repurpose our existing…register.blade.PHP template.…
Shall we?…I'm just going to go over,…select it here,…'register.blade.PHP' in my view folder,…copy it, using a 'Command-C',…and then press 'Command-V', to paste it back in,…and now just change the name from 'register' to 'login'.…Alright, now let's open it up and make a few mods.…I'm going to change the heading,…let me go down a little bit,…there we go,…from 'Sign Up' to 'Log In',…and we can drop the 'h2' tag, altogether.…
Now, I want to change the form 'open' argument…to point to 'Log In' rather than 'register'.…Cause we're going to be using that same ability in Laravel…
- Installing Laravel
- Handling testing
- Establishing an HTML view
- Connecting to a database
- Enabling version control
- Setting up-and-running unit tests
Skill Level Intermediate
1. Introduction to Laravel
2. Creating Initial Laravel Pages
3. Displaying Laravel Code
4. Creating a Laravel Application
5. Testing Your Laravel Code
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.