Passwort request function on login page

Wish to see a specific feature/change in future releases? Feel free to post it here, and if it gets enough "likes", we'd definitely include it in future releases!
Post Reply
SkayyHH
Veteran Member
Posts: 427
Joined: 2015-04-27 21:18

Passwort request function on login page

Post by SkayyHH » 2020-12-31 08:01

I would be happy if we could disable the password request function in the admin or that it is not displayed at login screen if no email data is stored.

User avatar
onoehring
AppGini Super Hero
AppGini Super Hero
Posts: 1161
Joined: 2019-05-21 22:42
Location: Germany
Contact:

Re: Passwort request function on login page

Post by onoehring » 2021-01-03 10:12

Hi,

quick fix:
Remove this line

Code: Select all

	'forgot password' => 'Forgot your password? <a href=membership_passwordReset.php>Click here</a>',
from defaultLang.php ...
better: Change this line to

Code: Select all

	'forgot password' => '',
as this will prevent any errors.

Doing so, you can place some application settings (I have a special table where the regular-admin can define some settings) that defines, if the language string should be dropped. You can add a special codeline as last line in defaultLang.php which checks for the setting and changes the reset PW string as I described above.

Olaf

SkayyHH
Veteran Member
Posts: 427
Joined: 2015-04-27 21:18

Re: Passwort request function on login page

Post by SkayyHH » 2021-01-03 21:51

Hello Olaf,

so many thanks for the tip!

It is a great idea to use an appgini table for settings, too.

Many greetings, kai

Post Reply