The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (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
allow + in email, fix bad verify.php redirect, verify email on passwd chg
#1
In http://userspice.org/forums/topic/redire...#post-1927 I reproduced a problem where the system sometimes redirects to verify.php when it should redirect to users/verify.php. Here's a fix for that.

It is hard to do a patch for users/init.php since it is largely created by the installation process. However, about 3-4 lines from the bottom of that script you will find this line:

Redirect::to('verify.php');

change it to this to solve the problem:

Redirect::to('users/verify.php');

Also in that forum link (above) the example used pointed out the problem where a user could register, NOT verify, forget password, reset password, and they would still be unverified. HOWEVER, by this time we have processed an email to their address (in order to reset their password) and so they really should be verified without having to do it explicitly.

In http://userspice.org/forums/topic/verifi...l-encoded/ I reported a problem where email addresses with a '+' character in them were not forming proper links during the email verification process.

This pastebin patchfile solves both of the issues listed above:

http://pastebin.com/KCXp9LM4
  Reply


Messages In This Thread
allow + in email, fix bad verify.php redirect, verify email on passwd chg - by plb - 08-26-2016, 07:07 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)