update controllers logic
This commit is contained in:
@@ -8,7 +8,7 @@ class TeacherSubmitAttendanceRequest extends FormRequest
|
||||
{
|
||||
public function authorize(): bool
|
||||
{
|
||||
return true;
|
||||
return auth()->check();
|
||||
}
|
||||
|
||||
public function rules(): array
|
||||
|
||||
Reference in New Issue
Block a user