Remove Password Reset Link

If you're a new user of AppGini, feel free to ask general usage questions, or look for answers here.
Post Reply
User avatar
aarlauskas
Veteran Member
Posts: 127
Joined: 2019-04-28 18:03
Location: Medway, UK

Remove Password Reset Link

Post by aarlauskas » 2021-11-13 00:03

Hi! How do I get rid of password reset field? Thanks
pass_reset.JPG
pass_reset.JPG (27.94 KiB) Viewed 1990 times

pbottcher
AppGini Super Hero
AppGini Super Hero
Posts: 1635
Joined: 2018-04-01 10:12

Re: Remove Password Reset Link

Post by pbottcher » 2021-11-13 11:59

Hi Arni,

you can try to add

Code: Select all

$j('#login_splash').next().find('.help-block').remove()
to your hooks/header-extras.php
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.

User avatar
aarlauskas
Veteran Member
Posts: 127
Joined: 2019-04-28 18:03
Location: Medway, UK

Re: Remove Password Reset Link

Post by aarlauskas » 2021-11-13 20:43

Hi Pascal, doesnt seem to do it, but its probably just me doing something wrong as usual.. Thanks

pbottcher
AppGini Super Hero
AppGini Super Hero
Posts: 1635
Joined: 2018-04-01 10:12

Re: Remove Password Reset Link

Post by pbottcher » 2021-11-13 21:07

Can you post your file
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.

User avatar
aarlauskas
Veteran Member
Posts: 127
Joined: 2019-04-28 18:03
Location: Medway, UK

Re: Remove Password Reset Link

Post by aarlauskas » 2021-11-13 21:42

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>

pbottcher
AppGini Super Hero
AppGini Super Hero
Posts: 1635
Joined: 2018-04-01 10:12

Re: Remove Password Reset Link

Post by pbottcher » 2021-11-14 08:40

Nice....

try

Code: Select all

$j(function() {
	$j('#login_splash').next().find('.help-block').remove()
})
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.

User avatar
aarlauskas
Veteran Member
Posts: 127
Joined: 2019-04-28 18:03
Location: Medway, UK

Re: Remove Password Reset Link

Post by aarlauskas » 2021-11-14 20:10

BINGO! :D Coffee and Donuts to your Paypal immediately!
reset_link.JPG
reset_link.JPG (23 KiB) Viewed 1887 times

pbottcher
AppGini Super Hero
AppGini Super Hero
Posts: 1635
Joined: 2018-04-01 10:12

Re: Remove Password Reset Link

Post by pbottcher » 2021-11-14 20:26

Top, thanks
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.

Post Reply