Code Monkey home page Code Monkey logo

mod_register_web's Introduction


labels:

  • 'Stage-Alpha' summary: A web interface to register user accounts ...

Introduction

There are various reasons to prefer web registration instead of "in-band" account registration over XMPP. For example the lack of CAPTCHA support in clients and servers.

Details

mod_register_web has Prosody serve a web page where users can sign up for an account. It implements reCaptcha to prevent automated sign-ups (from bots, etc.).

Configuration

The module is served on Prosody's default HTTP ports at the path /register_web. More details on configuring HTTP modules in Prosody can be found in our HTTP documentation.

To configure the CAPTCHA you need to supply a 'captcha_options' option:

    captcha_options = {
      recaptcha_private_key = "12345";
      recaptcha_public_key = "78901";
    }

The keys for reCaptcha are available in your reCaptcha account, visit recaptcha.net for more info.

If no reCaptcha options are set, a simple built in captcha is used.

Customization

Copy the files in mod_register_web/templates/ to a new directory. Edit them, and set register_web_template = "/path/to/your/custom-templates" in your config file.

Compatibility


0.10 Works 0.9 Works 0.8 Doesn't work


Todo

Different CAPTCHA implementation support

Collection of additional data, such as email address

The module kept simple!

mod_register_web's People

Contributors

lunarthegrey avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.