Auth
Your users can't sign in with their old password after you import your app into Lovable
Cataloged November 12, 2026 · Lovable · Replit · Bolt · v0 · Base44
Symptom
After you switch your domain to the app you imported into Lovable, a returning user types the password from the other tool and cannot sign in. The Lovable docs page "Import a project from Replit, Bolt, v0, or another tool" lists the troubleshooting entry "My users can't sign in to the imported app with their old password" and marks it Intended. That entry says "Passwords never leave the other tool." The same page says passwords and sessions do not carry over, so when users next sign in they verify their email and choose a new password, and a person who was signed in on the old app is not signed in on the imported app. Its limitations say passwords and active sessions do not transfer, and that every imported user sets a new password when they next sign in. The switch-over steps on that page say the imported app is not public until you publish it, and the old app keeps running until you switch the domain. Those steps say to tell your users that the next time they sign in, they verify their email and choose a new password, and they say Lovable does not email them about the change.
Root cause
The Lovable docs page "Import a project from Replit, Bolt, v0, or another tool" says Lovable rebuilds the app the way it builds new Lovable apps, on TanStack Start, and moves the database and the app's users to Lovable's built-in backend. It says Lovable replaces the other tool's sign-in with Lovable's built-in authentication. Each user gets a new account in Lovable, linked to their original user ID, so the user keeps their records, roles, and memberships when you add the users export. That page says passwords and sessions do not carry over, so when users next sign in they verify their email and choose a new password. Its limitations say passwords and active sessions do not transfer, and that every imported user sets a new password when they next sign in. When it imports data files, that page says Lovable removes password and token fields it recognizes. An old password cannot be checked on the imported app, because the troubleshooting entry "My users can't sign in to the imported app with their old password" is marked Intended and says "Passwords never leave the other tool." That entry tells you to tell your users to expect this step. The break is switching the domain before they are told. Switch-over step 4 on that page says to tell your users that the next time they sign in, they verify their email and choose a new password, and it says Lovable does not email them about the change. The same page says the imported app is not public until you publish it, and the old app keeps running until you switch the domain. It says records created in the other tool after your export are not in Lovable, so export data when your users have stopped using the old app. Switch over also means updating addresses other services call, for example the Stripe webhook address in the Stripe Dashboard. That page says Lovable names the ones it found in its report. The code export does not contain database records or user accounts. That page says to export each table, including the users table with email addresses and original user IDs, as CSV or JSON and attach them in the project chat. It says files can be up to 2 MB each, up to 10 files and 25 MB per message, and that a single SQL dump is not accepted. It says Lovable imports tables in relationship order, keeps original IDs, and verifies row counts. It says database rows that point to files in the other tool's storage do not contain the files, and to request a file export. It says to leave .env files out of the ZIP, and for Bolt it says "Delete any .env file inside the ZIP before you upload it." It says Lovable never asks for passwords, API keys, or database passwords in the chat, and that it opens its secret form. Lovable's own verification on that page checks that an imported user can verify their email, set a password, sign in, and see their own records and nobody else's. It says "migration complete" only when every part is verified. Until then it says "code migration complete" and a Still needed line. The Lovable changelog entry "Bring your app or website to Lovable" (Oct 29, 2026) says you can now import a project built with another tool and keep building it in Lovable. For a project from Replit, Bolt, Base44, v0, or Manus, export it as a ZIP and upload it. Start from Import project to Lovable in the + menu on the dashboard. That entry says the first import is free, and that after that, imports are standard build usage and consume credits.
Before and after
The before line is not a label from the docs. It is the assumption the domain switch leaves in place when users were not told: the password from the other tool still works. The page "Import a project from Replit, Bolt, v0, or another tool" says passwords and sessions do not carry over, and its troubleshooting entry says "Passwords never leave the other tool." The after line is switch-over step 4 on that page, worded for the person signing in. That step says to tell users that the next time they sign in, they verify their email and choose a new password. The page does not publish this exact sign-in sentence. It also says Lovable does not email them about the change, so the sentence belongs on your own sign-in page and in a message you send yourself.
Before
Sign in with the password from your previous account.
After
The next time you sign in, verify your email and choose a new password.
Fix prompt
In this project only. Do not scan or test anyone else's app. Do not print keys, tokens, passwords, password hashes, session tokens, or environment variable values. When you mention a variable, print the name only. Do not ask me to paste a password, an API key, a database password, a password hash, or a session token into the chat. 1. This prompt is for the project I imported into Lovable. If this project was not imported from another tool into Lovable, say so and stop. 2. Do not try to copy password hashes or session tokens into this project. Do not add a column, a file, or a migration that stores them. The Lovable docs page "Import a project from Replit, Bolt, v0, or another tool" says passwords and sessions do not carry over. Its limitations say passwords and active sessions do not transfer. When it imports data files, that page says Lovable removes password and token fields it recognizes. The troubleshooting entry "My users can't sign in to the imported app with their old password" is marked Intended, and it says "Passwords never leave the other tool." An old password cannot be checked here. Leave that as it is. 3. Find this project's sign-in page. Add one sentence a returning user can read before they type a password: the next time they sign in, they verify their email and choose a new password. That is switch-over step 4 on that page. Do not add an error string, and do not name a button that page does not name. If you cannot find a sign-in page, say so and do not edit other files. Show me the diff. 4. Do not send email from this project, and do not ask me for a list of users. That same step says Lovable does not email them about the change. Tell me to send the notice myself, from my own email tool, before I switch the domain. The notice is that the next time they sign in, they verify their email and choose a new password. 5. Do not publish this project, and do not change the domain. That page says the imported app is not public until you publish it, and the old app keeps running until you switch the domain. Tell me to test in this project's own preview, with a test account, that an imported user can verify their email, set a password, and sign in. That page says Lovable's own verification checks those steps, and that the user can see their own records and nobody else's. Do not use a real user's password. Do not print a password or an email address. 6. Do not attach a data export unless I tell you the old app has stopped taking writes. That page says records created in the other tool after the export are not in Lovable, so export data when your users have stopped using the old app. The code export does not contain database records or user accounts. When I say writes have stopped, the files to attach in the project chat are CSV or JSON, one table each, including the users table with email addresses and original user IDs. That page says each file can be up to 2 MB, and one message can carry up to 10 files and 25 MB. A single SQL dump is not accepted. Do not include password or token fields. That page says Lovable removes password and token fields it recognizes, imports tables in relationship order, keeps original IDs, and verifies row counts. If rows point at files in the other tool's storage, tell me to request a file export. That page says those rows do not contain the files. Do not print the contents of any file. 7. If this project's report or code names a service that calls this app, name the service. Include Stripe when it names a Stripe webhook address. Do not print keys or other secret values. That page says switch over requires updating addresses other services call, for example the Stripe webhook address in the Stripe Dashboard, and that Lovable names the ones it found in its report. Do not change anything in Stripe or in any other service. Tell me to update those addresses in a dashboard I own before I switch the domain. 8. If the ZIP I uploaded contained a .env file, tell me to rotate those keys at each provider. Do not print the values, and do not ask me to paste them here. That page says to leave .env files out of the ZIP, and for Bolt it says "Delete any .env file inside the ZIP before you upload it." It also says Lovable never asks for passwords, API keys, or database passwords in the chat. It opens its secret form. If a key is still needed, tell me to enter it in that form. 9. If you are the Lovable project chat, quote the latest status you already wrote. That page says Lovable says "migration complete" only when every part is verified. Until then it says "code migration complete" and a Still needed line. If the status is not migration complete, or a Still needed line is still there, quote it and stop. If you cannot see that chat, tell me to read it myself. Do not guess the status. Do not print keys. Do not edit unrelated files.
Paste this into the coding tool that has your own project open.
2-minute self-check
These steps are for an app you own. Do not run them against someone else's project.
- In your own Lovable preview, before you publish, use a test imported user to verify their email, set a password, and sign in. The page "Import a project from Replit, Bolt, v0, or another tool" says that is what an imported user does the next time they sign in, and that Lovable checks an imported user can verify their email, set a password, and sign in. Do not use a real customer's password, and do not try this on anyone else's app.
- In that same preview, sign in as two test users from your own import. Confirm each one sees only their own records. That page says Lovable checks that an imported user can see their own records and nobody else's. Do not open a project you do not own.
- Compare the row counts in your own imported tables with the export you attached. That page says Lovable verifies row counts, and that records created in the other tool after the export are not in Lovable. Do not compare anyone else's database.
- In a dashboard you own, such as the Stripe Dashboard, confirm the webhook address points at the imported app. The switch-over steps on that page say to update addresses other services call, for example the Stripe webhook address, and that Lovable names the ones it found in its report. Do not open an account you do not own, and do not copy a secret.
- In your own Lovable project chat, confirm it said migration complete and that there is no Still needed line. That page says Lovable says migration complete only when every part is verified. Until then it says code migration complete and a Still needed line.
- Check the ZIP you uploaded for a .env file. That page says to leave .env files out of the ZIP, and for Bolt to delete any .env file inside the ZIP before you upload it. If one was in the ZIP, rotate those keys. Do not paste the file anywhere.
Common questions
My users type their old password and cannot get in. Are their accounts gone?
No. The troubleshooting entry "My users can't sign in to the imported app with their old password" on the page "Import a project from Replit, Bolt, v0, or another tool" is marked Intended. It says "Passwords never leave the other tool." That page says each user gets a new account in Lovable, linked to their original user ID, so the user keeps their records, roles, and memberships when you add the users export. Passwords and sessions do not carry over. When they next sign in they verify their email and choose a new password. Its limitations say passwords and active sessions do not transfer, so someone who was signed in on the old app is not signed in on the imported app.
Will Lovable email them to set a new password?
No. Switch-over step 4 on "Import a project from Replit, Bolt, v0, or another tool" says to tell your users that the next time they sign in, they verify their email and choose a new password. It also says Lovable does not email them about the change. Send that notice yourself, from your own email tool, before you switch the domain. The same page says the imported app is not public until you publish it, and the old app keeps running until you switch the domain.
Can I copy the password hashes so the old passwords still work?
No. Do not copy password hashes or session tokens into the imported app. "Import a project from Replit, Bolt, v0, or another tool" says passwords and active sessions do not transfer, and that every imported user sets a new password when they next sign in. When it imports data files, that page says Lovable removes password and token fields it recognizes. Leave those fields out of the CSV or JSON you attach. The same page says Lovable never asks for passwords, API keys, or database passwords in the chat. It opens its secret form. If a .env file was inside the ZIP you uploaded, rotate those keys. For Bolt, that page says "Delete any .env file inside the ZIP before you upload it."