Skip to content

Meilisearch: user protected search

I have a database table “movies” with three fields: id, title and user_id. Behind a login users can create new movies with a custom title. The user_id is set automatically to the current logged in user. Now on another page (also behind the same login) the users can see all their own created movies…

Why my modal window is replicated in all views

I am in the creation of a modal window but this window has something very particular and it is that I only want it to be displayed at the moment of logging in, that is, after the user enters their credentials. At the moment I am presenting an error and it is that the window is being shown in all