Skip to content

Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active

📋 refactor: allow paste in confirm field when resetting passwords (#2542)

Martin Dahlö4d0806d3e8ee
diff --git a/client/src/components/Auth/ResetPassword.tsx b/client/src/components/Auth/ResetPassword.tsx
index bf6aa7944a..52560828f2 100644
--- a/client/src/components/Auth/ResetPassword.tsx
+++ b/client/src/components/Auth/ResetPassword.tsx
@@ -139,11 +139,6 @@ function ResetPassword() {
type="password"
id="confirm_password"
aria-label={localize('com_auth_password_confirm')}
- // uncomment to prevent pasting in confirm field
- onPaste={(e) => {
- e.preventDefault();
- return false;
- }}
{...register('confirm_password', {
validate: (value) =>
value === password || localize('com_auth_password_not_match'),