-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #158 from ZeusWPI/feature/registration-hook
Basic webhook functionality on registration
- Loading branch information
Showing
12 changed files
with
289 additions
and
13 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,7 @@ maximum_pending_users = 25 | |
secret_key = "1vwCFFPSdQya895gNiO556SzmfShG6MokstgttLvwjw=" | ||
bcrypt_cost = 4 | ||
seed_database = true | ||
webhook_url = "http://localhost:8080/hook" | ||
|
||
[debug.databases.postgresql_database] | ||
url = "postgresql://zauth:zauth@localhost/zauth" | ||
|
@@ -30,6 +31,7 @@ port = 8000 | |
# base_url = # URL where the application is hosten (e.g. https://auth.zeus.gent) | ||
# mail_from = # From header to set when sending emails (e.g. [email protected]) | ||
# mail_server = # domain of the SMTP server used to send mail (e.g. smtp.zeus.gent) | ||
# webhook_url = # hook to post new (approved) user's details to | ||
|
||
# See src/config.rs for all the possible config values and their defaults | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.