From 0ac25cb26616b28eecfea66143ec7f9156223d6e Mon Sep 17 00:00:00 2001 From: Shi Jin Date: Sat, 24 Feb 2024 21:55:22 -0700 Subject: [PATCH] hide forgot-password-reset button for Dr. Hu --- client/src/components/Auth/LoginForm.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/client/src/components/Auth/LoginForm.tsx b/client/src/components/Auth/LoginForm.tsx index eed321f2e36..e02d0615bb6 100644 --- a/client/src/components/Auth/LoginForm.tsx +++ b/client/src/components/Auth/LoginForm.tsx @@ -99,9 +99,11 @@ function LoginForm({ onSubmit }: TLoginFormProps) { )} - - {localize('com_auth_password_forgot')} - + {window.location.hostname !== 'drhu.aitok.ai' && ( + + {localize('com_auth_password_forgot')} + + )}