Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
LiquidFractal Posted November 21, 2021 Posted November 21, 2021 On the adminCP login screen: if you enter an email address which isn't registered on the site you get the following notification:
Jim M Posted November 21, 2021 Posted November 21, 2021 Would recommend changing to an unmodified language pack as I am not able to reproduce this on an unmodified one.
LiquidFractal Posted November 22, 2021 Author Posted November 22, 2021 Thanks Jim. I disabled every language pack except for the default, but when I tried logging back in to the adminCP with a bogus email I got a different error message entirely: "The email address or password was incorrect. Please try again (make sure your caps lock is off)." So it seems like a different type of error altogether being flagged. Moreover, it seems to be hard-coded; I can't find the language for my original error anywhere using the translation option, whereas the error I get with the default pack could be any of the following keys: login_bad_username_or_password login_err_bad_password login_err_no_account But all of these keys have the same values in my customised language pack (i.e. I didn't change them at all). Thoughts?
Solution Daniel F Posted November 22, 2021 Solution Posted November 22, 2021 54 minutes ago, LiquidFractal said: But all of these keys have the same values in my customised language pack (i.e. I didn't change them at all). Thoughts? That's correct, we have changed this for security reasons, I'm just not sure why we have kept the condition and the 3 langstrings instead of returning only one generic error message in all cases:D
Recommended Posts