Secure AI chat portal ยท Mieya Ai
This portal keeps the chat locked until the correct access password is entered. After login, messages are forwarded server-side, so webhook credentials can stay hidden from public users.
Password is checked in PHP first, then stored in a server session. Users cannot open the chat UI until access is granted.
When your website uses HTTPS and your webhook also uses HTTPS, chat traffic and webhook auth are encrypted in transit.
Users can attach screenshots or paste copied images directly into the chat composer after logging in. Images are forwarded to Ai as real multipart attachments for better webhook compatibility.
Change CHAT_ACCESS_PASSWORD at the top of this file before uploading it to production hosting.
Only approved users can open OpenChat via MZ and start chatting with Mieya Ai.