authcrunch / authcrunch.github.io

Documentation for Caddy v2 Auth Portal and Authorize Plugins.
81 stars 34 forks source link

messaging: document file provider #32

Open greenpau opened 2 years ago

greenpau commented 2 years ago

Instead of emailing, the file provider stores emails in a directory, e.g. {$HOME}/.local/caddy/localdb/registry

        messaging file provider localhost-file-server {
            rootdir {$HOME}/.local/caddy/localdb/registry
        }

        user registration localdbRegistry {
            #disabled
            dropbox {$HOME}/.local/caddy/localdb/registrations.json
            title "User Registration"
            code "NY2020"
            require accept terms
            require domain mx
            admin email barbaz@bar.baz foobar@foo.bar
            email provider localhost-file-server
            identity store localdb
        }