liquid_feedback_frontend
diff app/main/index/_action/reset_password.lua @ 1857:1c329811e47f
Allow to hide password reset and login recover feature
| author | bsw |
|---|---|
| date | Sat Sep 17 21:32:10 2022 +0200 (2022-09-17) |
| parents | e7fc3fed1593 |
| children |
line diff
1.1 --- a/app/main/index/_action/reset_password.lua Sat Sep 17 21:30:43 2022 +0200 1.2 +++ b/app/main/index/_action/reset_password.lua Sat Sep 17 21:32:10 2022 +0200 1.3 @@ -1,5 +1,9 @@ 1.4 trace.disable() 1.5 - 1.6 + 1.7 +if config.hide_reset_password then 1.8 + return 1.9 +end 1.10 + 1.11 local secret = param.get("secret") 1.12 1.13 if not secret then