mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
ff455c8ed9
* Migration: Option to select the migration type * Migration: Logic for redirecting based on steps * Work for migrations: - Added authentication view, service - Account connecting - Scaffold services - Companies service - (wip) Sending data to v2 * Migration: Sending migration file * Wrap up the migration first stage * Split company per request / no bundle Co-authored-by: David Bomba <turbo124@gmail.com>
32 lines
557 B
PHP
32 lines
557 B
PHP
<?php
|
|
|
|
namespace App\Http\Requests;
|
|
|
|
use Illuminate\Foundation\Http\FormRequest;
|
|
|
|
class MigrationAuthRequest extends FormRequest
|
|
{
|
|
/**
|
|
* Determine if the user is authorized to make this request.
|
|
*
|
|
* @return bool
|
|
*/
|
|
public function authorize()
|
|
{
|
|
return true;
|
|
}
|
|
|
|
/**
|
|
* Get the validation rules that apply to the request.
|
|
*
|
|
* @return array
|
|
*/
|
|
public function rules()
|
|
{
|
|
return [
|
|
'email' => 'required|email',
|
|
'password' => 'required',
|
|
];
|
|
}
|
|
}
|