Skip to content

Commit

Permalink
Merge pull request #172 from aitok-ai/jinshi/hide-password-reset
Browse files Browse the repository at this point in the history
hide forgot-password-reset button for Dr. Hu
  • Loading branch information
jinzishuai authored Feb 25, 2024
2 parents 25bf11e + 0ac25cb commit 9c1016f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions client/src/components/Auth/LoginForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,11 @@ function LoginForm({ onSubmit }: TLoginFormProps) {
</span>
)}
</div>
<a href="/forgot-password" className="text-sm font-medium text-green-500 hover:underline">
{localize('com_auth_password_forgot')}
</a>
{window.location.hostname !== 'drhu.aitok.ai' && (
<a href="/forgot-password" className="text-sm font-medium text-green-500 hover:underline">
{localize('com_auth_password_forgot')}
</a>
)}
<div className="mt-6">
<button
aria-label="Sign in"
Expand Down

0 comments on commit 9c1016f

Please sign in to comment.