Skip to content

Password::defaults() won't work in validator #59

Answered by ju5t
lenchantin asked this question in Q&A
Discussion options

You must be logged in to vote

On the use of the Password facade inside a public property; that's not possible with PHP, so this is not an issue with the package. If you want to specify the rules globally, you should create a rules() method on your Livewire class, see:
https://laravel-livewire.com/docs/2.x/input-validation

If you're worried about security, you should read https://laravel-livewire.com/docs/2.x/security. This package is just a wrapper around Livewire so you can create wizards with it.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@lenchantin
Comment options

Answer selected by lenchantin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants