The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Block users
#6
I'm mostly 3.x at the moment. Let's not get to code specifics Smile

In login, just before a successful login redirect, can you get the group of the newly logged-in (but not yet served anything) user from the user object? (line 62 in 4.0c)

If so, you can add an errors[] entry and do a (naughty) break out of the block. Or better, redirect to a new 'naughty step'.

One way you will have refused entry, the other you have them in a sandbox.
  Reply


Messages In This Thread
Block users - by Alex - 02-17-2016, 08:54 PM
Block users - by astropos - 02-18-2016, 09:38 AM
Block users - by brian - 02-19-2016, 04:22 PM
Block users - by astropos - 02-19-2016, 04:57 PM
Block users - by brian - 02-19-2016, 05:29 PM
Block users - by astropos - 02-19-2016, 06:21 PM
Block users - by astropos - 02-19-2016, 06:23 PM
Block users - by mudmin - 02-19-2016, 09:43 PM

Forum Jump:


Users browsing this thread: 4 Guest(s)