diff --git a/app/Http/Requests/AuthLoginPostRequest.php b/app/Http/Requests/AuthLoginPostRequest.php new file mode 100644 index 0000000..9d61f2c --- /dev/null +++ b/app/Http/Requests/AuthLoginPostRequest.php @@ -0,0 +1,42 @@ +|string> + */ + public function rules(): array + { + return [ + 'username' => [ + 'required', + 'string', + 'alpha_num', + 'min:3', + 'max:100', + + ], + 'password' => [ + 'required', + 'string', + 'min:6', + 'max:255', + ], + ]; + } +} diff --git a/config/project.php b/config/project.php new file mode 100644 index 0000000..271804d --- /dev/null +++ b/config/project.php @@ -0,0 +1,4 @@ + 'آژانس هواپیمایی مای تریپ' +]; diff --git a/resources/views/admin/login.blade.php b/resources/views/admin/login.blade.php new file mode 100644 index 0000000..3722101 --- /dev/null +++ b/resources/views/admin/login.blade.php @@ -0,0 +1,66 @@ +@extends('admin.layouts.app') +@section('content') + + +
+ ورود به پنل مدیریت +
++ برای ورود به پنل مدیریت لطفا اطلاعات فرم را وارد کنید. +
+ + @error('general') + {{ $message }} + @enderror + + +