Skip to content

How to access stored sessions of my users? #699

Closed Answered by vvo
rudrabhikadiya3 asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @rudrabhikadiya3, To achieve what you want ("Block user from logging in") then you need to:

  • whenever your user is doing an API action on your website, check in your database if they have the rights to do so
  • if they are blocked, refuse the request
  • on login, make sure you check this field too
  • in your admin interface, make it so you can block people
  • done!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by vvo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants