initial commit
This commit is contained in:
22
app/Http/Requests/PasswordChangeRequest.php
Normal file
22
app/Http/Requests/PasswordChangeRequest.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Requests;
|
||||
|
||||
|
||||
class PasswordChangeRequest extends BaseRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* Get the validation rules that apply to the request.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function rules()
|
||||
{
|
||||
return [
|
||||
'email' => 'required|email',
|
||||
// 'change_password'=>'required',
|
||||
'current_password'=>'required',
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user