08-25-2016, 07:03 PM
I am doing some non-standard stuff, but since UserSpice is designed as a sort of bookends that people can fill in the content in between I'm assuming this kind of non-standard stuff should get an error message...
In this case I am adding a user behind the scenes with just email, fname, lname and then the required (non-null) integers and dates. Then I come in and try to log in with "forgot password" and use the email address to get access. Everything looks really good (and it lets me reset the password perfectly) but then when I try to log in as that user it redirects me to verify.php (not users/verify.php) and I just keep getting a 404. Since the username or email or whatever is in my session now I can't go anywhere *except* verify.php which, of course, is just my 404.
The fact that verification has not been done and is being required is my application's problem. But the fact that I am being redirected to verify.php seems to be a UserSpice bug. I haven't tracked down where it's happening. If it comes from the fact that I moved my init.php into the root directory or something like that then please serve me up some humble pie and I'll take my medicine...
In this case I am adding a user behind the scenes with just email, fname, lname and then the required (non-null) integers and dates. Then I come in and try to log in with "forgot password" and use the email address to get access. Everything looks really good (and it lets me reset the password perfectly) but then when I try to log in as that user it redirects me to verify.php (not users/verify.php) and I just keep getting a 404. Since the username or email or whatever is in my session now I can't go anywhere *except* verify.php which, of course, is just my 404.
The fact that verification has not been done and is being required is my application's problem. But the fact that I am being redirected to verify.php seems to be a UserSpice bug. I haven't tracked down where it's happening. If it comes from the fact that I moved my init.php into the root directory or something like that then please serve me up some humble pie and I'll take my medicine...