“Laravel 8 Passwortbestätigung Validierung” Code-Antworten

Laravel 8 Passwortbestätigung Validierung

// password field like this
<input type="password" name="password"/>
  // matching field like this
//{field}_confirmation
  <input type="password" name="password_confirmation"/>
  //validation rule
  'password' => 'required|min:6|max:25|confirmed',
Dev Arman

Bestätigen Sie die Passwortvalidierung Laravel

'password' => 'required|confirmed',

reference : https://laravel.com/docs/4.2/validation#rule-confirmed

The field under validation must have a matching field of foo_confirmation. 
For example, if the field under validation is password, a matching
password_confirmation field must be present in the input.
Lokesh003

Bestätigen Sie die Passwortvalidierung in Laravel

$this->validate($request, [
    'name' => 'required|min:3|max:50',
    'email' => 'email',
    'vat_number' => 'max:13',
    'password' => 'required|confirmed|min:6',
]);
Super Starling

Laravel Passwort

$this->validate($request, [
    'name' => 'required|min:3|max:50',
    'email' => 'email',
    'vat_number' => 'max:13',
    'password' => 'required|confirmed|min:6',
]);
Brave Butterfly

Ähnliche Antworten wie “Laravel 8 Passwortbestätigung Validierung”

Fragen ähnlich wie “Laravel 8 Passwortbestätigung Validierung”

Weitere verwandte Antworten zu “Laravel 8 Passwortbestätigung Validierung” auf PHP

Durchsuchen Sie beliebte Code-Antworten nach Sprache

Durchsuchen Sie andere Codesprachen