If this video has helped you why not buy me a coffee to say thank you? / p_digital ... Follow me on twitter: / pdigitaluk Try out DigitalOcean for free with this link: m.do.co/c/3ba5... ...
The error message in the login view is not showing because the input field class needs to be set to "is-invalid" when there's an error. You're doing it correctly in the register form using class="form-control @error('password') is-invalid @enderror" but not in the login form.
Very good tuts dude, but just if someone else gets stuck, this guy does not explain that the @error needs to be used in the class of every input with is-invalid class too, and also to insert the span with invalid-feedback class, sorry for my english Im mexican, Regards
Hi Gerardo, yes you can follow my user management course here ru-vid.com/group/PLxFwlLOncxFLazmEPiB4N0iYc3Dwst6m4 the process remains the same the only difference is at the start. Instead of the auth being built in you need to create hat using Fortify like we did in this series.
rhanks so much! mind if i ask on how to do register if i don't want to register the user's username in the register form and only wanted to register the user's email and password(with confirmation ofc) ?
This is a great vid. I have a quick question, I am using Spatie for roles/permissions and I wonder where the most appropriate place would be to assign a newly registered user to a specific role?
Hi Simon, thank you for the feedback. Take a look in your app folder under actions. There should be a register action you can use. You might need to publish the fortify assets first for these, can't remember exactly if they are already in there and I'm not at a computer at the moment 😄
Hi, thanks a lot for the videos!!! Is there any way to disable auto-login after registration? I want to add new users only using a registered user (like admin for example).
@@PenguinDigital Thanks for the answer but I want to be able to register new users but I only registered users can do that not new users by themselves. Only the admin of the application can register new users so when I new user is registered I want to still authenticated as admin. If I delete the Features::registration() option I can't register new users.