mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 10:49:28 +02:00
Implement contact form in the client
This commit is contained in:
parent
3866f1a02f
commit
d3e56c0c4b
18 changed files with 281 additions and 24 deletions
|
@ -50,7 +50,7 @@ const contactAdministratorValidator = [
|
|||
.end()
|
||||
}
|
||||
|
||||
if (Emailer.Instance.isEnabled() === false) {
|
||||
if (Emailer.isEnabled() === false) {
|
||||
return res
|
||||
.status(409)
|
||||
.send({ error: 'Emailer is not enabled on this instance.' })
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue