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
/printthread.php 16 require_once



UserSpice
Updating E-Mail in Change User Settings results in beeing blocked out the site. - 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: Updating E-Mail in Change User Settings results in beeing blocked out the site. (/showthread.php?tid=795)



Updating E-Mail in Change User Settings results in beeing blocked out the site. - komodo - 10-16-2017

Hello

I have turned on email verification.

If a user changes his email in user_settings.php, the Database updates the new mail and sets email_verified to 0 and spits out the message "Email updated."
However it doesn't send out a new verification email?

After updating the email, when you click somewhere else, the page logs you out with the message
"Ooops! There was an error verifying your email address. Please click below to try again" (verify.php)
If you click on the link nothing happens. No Verification email is sent resulting in blocking out the user forever.




Updating E-Mail in Change User Settings results in beeing blocked out the site. - komodo - 10-16-2017

EDIT:
There has been a mistake in my template which is the reason why I couldn't access the verify_resend.php anymore and the error popped up. However the fact remains, that after changing the email, no verification email is sent automatically.


Updating E-Mail in Change User Settings results in beeing blocked out the site. - Brandin - 10-16-2017

Thanks for pointing this out - we will look into this for US 4.3


Updating E-Mail in Change User Settings results in beeing blocked out the site. - Kazumaki - 02-12-2018

I'm using the 4.3 and still with the same error, someone can give me a feedback and tell me what's going on?

EDIT!!!

Forget everything i said, my problem was when user was not receiving a mail to verify, and when he tries to resend, it was redirecting to users/verify.php even if i was clicking on "Resend Verification Email" i got redirected to users/verify.php, i fixed the things changing the line 69 of 'init.php' and adding to the if statement this: && $currentPage != 'verify_resend.php', i don't know if i did right, or wrong, but that works for me.


Updating E-Mail in Change User Settings results in beeing blocked out the site. - Brandin - 02-12-2018

This is probably a bug!!!

I will open a ticket to look at this ASAP.


Updating E-Mail in Change User Settings results in beeing blocked out the site. - Brandin - 02-17-2018

A patch for this will be in 4.3.14. Unfortunately it's not the best patch, but the location of the call makes it hard to patch.