Skip to content

chsaiujwal/miab_registration_page

Repository files navigation

Main-In-A-Box registration page

source code of https://salvusmail.com/register.html page.

Just a simple registraiton page with a hcaptcha, using Mail-In-A-Box's in-build api for creating email.

Installation:

  1. Clone the files into your website directory (Your website directory is /home/user-data/www/default)
  2. Edit line numbers 195, 200 (pattern), 214 (data-sitekey) in register.html
  3. Edit line 40 (api) in action_page.php
  4. Create a file .env in /home/user-data/www and save your admin accout creds and captcha secret key in it, make sure format is like this:
PWDD="PASSWORD_HERE"
EML="[email protected]"
SEC="hCaptcha secret key here"
  1. Make sure you have composer installed, run composer install in website directory.

Done, that's it.

If its not working, make sure you enabled php.

Feel free to submit issues and pull requests.

About

registration page for mail-in-a-box, source code of https://salvusmail.com/register.html page.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published