diff --git a/app/Http/Controllers/Auth/RegisterController.php b/app/Http/Controllers/Auth/RegisterController.php index daef6ec7494c32c5329c6acffeb62f67e3b00513..6f133cb7cb441f803574794dc45bbd32d6ce0cad 100644 --- a/app/Http/Controllers/Auth/RegisterController.php +++ b/app/Http/Controllers/Auth/RegisterController.php @@ -184,11 +184,7 @@ class RegisterController extends Controller } } } - } - // Opsional menggunakan csv - // else if ($extension == 'csv') { - - // } + } if ($success) { echo '<div class="alert alert-success alert-dismissible fade show text-center"> <button type="button" class="close" data-dismiss="alert">×</button> diff --git a/resources/views/auth/register.blade.php b/resources/views/auth/register.blade.php index 527e5401812b965e9182c0ec445b1bf7f08504b0..a377c8e7ad574f47ea36485cf873d8a7edb68d47 100644 --- a/resources/views/auth/register.blade.php +++ b/resources/views/auth/register.blade.php @@ -113,7 +113,7 @@ <label for="name" class="col-md-4 col-form-label text-md-right">File</label> <div class="col-md-6"> <div class="d-flex justify-content-center"> - <input type="file" id="register_file" name="register_file" class="form-control" multiple="" accept=".csv, application/vnd.ms-excel, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"> + <input type="file" id="register_file" name="register_file" class="form-control" multiple="" accept="application/vnd.ms-excel, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"> </div> </div> </div>