Page 1 of 1

Remove Password Reset Link

Posted: 2021-11-13 00:03
by aarlauskas
Hi! How do I get rid of password reset field? Thanks
pass_reset.JPG
pass_reset.JPG (27.94 KiB) Viewed 3238 times

Re: Remove Password Reset Link

Posted: 2021-11-13 11:59
by pbottcher
Hi Arni,

you can try to add

Code: Select all

$j('#login_splash').next().find('.help-block').remove()
to your hooks/header-extras.php

Re: Remove Password Reset Link

Posted: 2021-11-13 20:43
by aarlauskas
Hi Pascal, doesnt seem to do it, but its probably just me doing something wrong as usual.. Thanks

Re: Remove Password Reset Link

Posted: 2021-11-13 21:07
by pbottcher
Can you post your file

Re: Remove Password Reset Link

Posted: 2021-11-13 21:42
by aarlauskas
Not much on it :D

Code: Select all

<script src="hooks/AppGiniHelper.min.js"></script>

<script>
$j('#login_splash').next().find('.help-block').remove()
</script>

Re: Remove Password Reset Link

Posted: 2021-11-14 08:40
by pbottcher
Nice....

try

Code: Select all

$j(function() {
	$j('#login_splash').next().find('.help-block').remove()
})

Re: Remove Password Reset Link

Posted: 2021-11-14 20:10
by aarlauskas
BINGO! :D Coffee and Donuts to your Paypal immediately!
reset_link.JPG
reset_link.JPG (23 KiB) Viewed 3135 times

Re: Remove Password Reset Link

Posted: 2021-11-14 20:26
by pbottcher
Top, thanks