Skip to content
This repository was archived by the owner on Dec 9, 2018. It is now read-only.

Feature/email authorization #2

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open
Prev Previous commit
Next Next commit
Added request-account-message text.
Jassob committed Sep 1, 2016
commit aac1f35e7e9cc25024bd408e2e6e9e99c25cd79a
28 changes: 28 additions & 0 deletions data/default.conf
Original file line number Diff line number Diff line change
@@ -243,6 +243,34 @@ reset-password-message:
# http://$hostname$/path/to/wiki$resetlink$ or
# http://gitit.$hostname$$resetlink$

request-account-message:
> From: nobody@$hostname$
> To: $useremail$
> Subject: Email verification
>
> Dear $useremail$:
>
> To verify your e-mail address, please follow the link below:
> http://$hostname$:$port$$requestlink$
>
> Yours sincerely,
> The Wiki Master

# gives the text of the message that will be sent to an eventual user should
# she request to create an account.
# The lines must be indented, and must begin with '>'. The initial
# spaces and '> ' will be stripped off. $username$ will be replaced
# by the user's username, $useremail$ by her email address,
# $hostname$ by the hostname on which the wiki is running (as
# returned by the hostname system call), $port$ by the port on
# which the wiki is running, and $resetlink$ by the
# relative path of a reset link derived from the user's existing
# hashed password. If your gitit wiki is being proxied to a location
# other than the root path of $port$, you should change the link to
# reflect this: for example, to
# http://$hostname$/path/to/wiki$resetlink$ or
# http://gitit.$hostname$$resetlink$

use-feed: no
# specifies whether an ATOM feed should be enabled (for the site and for
# individual pages)