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
banned user can't log out
#5
Here's a link to a modified login.php

http://pastebin.com/FSLFYwaW

I've added a single line immediately after the
Code:
$error_message='';
initialization.

Code:
if (@$_REQUEST['err']) $error_message = $_REQUEST['err']; // allow redirects to display a message

Now any
Code:
Redirect::to('users/login.php?err=This is an error message');
will display that message in the login form.
  Reply


Messages In This Thread
banned user can't log out - by plb - 09-07-2016, 04:11 AM
banned user can't log out - by plb - 09-07-2016, 04:32 AM
banned user can't log out - by firestorm - 09-07-2016, 10:32 AM
banned user can't log out - by plb - 09-07-2016, 01:15 PM
banned user can't log out - by plb - 09-07-2016, 05:04 PM
banned user can't log out - by plb - 09-07-2016, 05:31 PM
banned user can't log out - by plb - 09-07-2016, 05:46 PM
banned user can't log out - by plb - 09-07-2016, 06:34 PM
banned user can't log out - by mudmin - 09-07-2016, 09:46 PM
banned user can't log out - by brian - 09-13-2016, 01:59 PM

Forum Jump:


Users browsing this thread: 6 Guest(s)