+ 1

How to ban an account on your site for a fixed number of days?

Hello friends, please is there a way I can program the ban feature on my site (with JS or Php) in such a way that if I ban an account from accessing the site features, the site automatically unbans the account after a fixed time interval (eg one week), without me having to manually do it myself???

26th Apr 2019, 8:40 PM
Brian Ikebudu
Brian Ikebudu - avatar
1 Réponse
+ 4
Depends on your backend system and programming language. But generally it should store the ban date (and maybe ban length) somewhere, then remove the ban if the current date is past the ban length.
26th Apr 2019, 10:03 PM
Ahri Fox
Ahri Fox - avatar