The settings GET endpoint masks emailImapPass and ftpPass for security. The test endpoints and save handler were using these masked values, causing IMAP/FTP test failures and potentially overwriting real passwords. Now the test endpoints fall back to the DB-stored password when they receive the masked value, and the save handler strips masked passwords from the payload. Made-with: Cursor |
||
|---|---|---|
| .. | ||
| poll | ||
| test | ||
| route.ts | ||