@@ -44,13 +44,13 @@ |
||
44 | 44 | $response = response($result); |
45 | 45 | $name = sprintf('import_config_%s.json', date('Y-m-d')); |
46 | 46 | $response->header('Content-disposition', 'attachment; filename=' . $name) |
47 | - ->header('Content-Type', 'application/json') |
|
48 | - ->header('Content-Description', 'File Transfer') |
|
49 | - ->header('Connection', 'Keep-Alive') |
|
50 | - ->header('Expires', '0') |
|
51 | - ->header('Cache-Control', 'must-revalidate, post-check=0, pre-check=0') |
|
52 | - ->header('Pragma', 'public') |
|
53 | - ->header('Content-Length', strlen($result)); |
|
47 | + ->header('Content-Type', 'application/json') |
|
48 | + ->header('Content-Description', 'File Transfer') |
|
49 | + ->header('Connection', 'Keep-Alive') |
|
50 | + ->header('Expires', '0') |
|
51 | + ->header('Cache-Control', 'must-revalidate, post-check=0, pre-check=0') |
|
52 | + ->header('Pragma', 'public') |
|
53 | + ->header('Content-Length', strlen($result)); |
|
54 | 54 | |
55 | 55 | return $response; |
56 | 56 | } |
@@ -91,10 +91,10 @@ |
||
91 | 91 | { |
92 | 92 | return Validator::make( |
93 | 93 | $data, [ |
94 | - 'name' => ['required', 'string', 'max:255'], |
|
95 | - 'email' => ['required', 'string', 'email', 'max:255', 'unique:users'], |
|
96 | - 'password' => ['required', 'string', 'min:8', 'confirmed'], |
|
97 | - ] |
|
94 | + 'name' => ['required', 'string', 'max:255'], |
|
95 | + 'email' => ['required', 'string', 'email', 'max:255', 'unique:users'], |
|
96 | + 'password' => ['required', 'string', 'min:8', 'confirmed'], |
|
97 | + ] |
|
98 | 98 | ); |
99 | 99 | } |
100 | 100 | } |