I finished my CRUD blog using nodejs + express.js but the only thing I need is everytime I go to 'post/:id/edit' or 'post/new' the browser ask for an admin user to continue with that request. This is to prevent that any user can create post in my blog.
How can I achieve that? I couldn't find anything about this. And I don't really need a CRUD for users because I will be the only one creating/editing post.
Thanks
via Ezequiel Ramiro
No comments:
Post a Comment