The following warnings occurred: | ||||||||||||
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
|
user login -- not verified - Printable Version +- UserSpice (https://userspice.com/forums) +-- Forum: Support Center (https://userspice.com/forums/forumdisplay.php?fid=23) +--- Forum: UserSpice 4.3 and Below (https://userspice.com/forums/forumdisplay.php?fid=26) +--- Thread: user login -- not verified (/showthread.php?tid=218) |
user login -- not verified - Sebastian - 08-24-2016 Just ran into a problem, by trying to login a user, which is not email_verified (Require User to Verify Their Email? is turned on in my case). I was redirected to $us_url_root.'verify.php'. This site does not exist. verify.php is located in $us_url_root.'users/verify.php' The reason in my case for this wrong redirection is that I changed the custom_login_script.php and instead of redirecting the user to $us_url_root.'users/account.php' I redirected the user to $us_url_root.'index.php'. Now this index.php calls Code: require_once 'users/init.php'; Code: Redirect::to('verify.php'); Code: Redirect::to('users/verify.php'); What I want to say is that one has to keep this in mind, if changes of the custom_login_script.php are made. user login -- not verified - mudmin - 08-24-2016 Ahhhh. That makes a ton of sense. Thanks for that. I just added that to my "need to document list." One of the things about writing this kind of software is that you never have any idea how someone is going to use it, so it gets hard to anticipate all that stuff. That's why your feedback is so important. |