element-hq / element-hq/synapse

reCAPTCHA custom template

Open
#15,501 0 comments 0 reactions 0 assignees View on GitHub
O-Uncommon S-Tolerable T-Enhancement
Dominant language
Python
Stars
4.6k
Forks
600
Avg merge
5d 22h
Merged PRs (30d)
51

Description

This issue has been migrated from [#15501](https://github.com/matrix-org/synapse/issues/15501).

---

### Description

Testing templates i noticed that recaptcha template does not honour the custom templates directory. The logo was different.

### Steps to reproduce

- Create a custom templates directory
- Include _base.html template
- Make some changes on _base.html template, like logo.
- define the custom template directory on homeserver.yaml
- Test the recaptcha template

### Homeserver

Private

### Synapse Version

{"server_version":"1.82.0","python_version":"3.9.2"}

### Installation Method

Debian packages from packages.matrix.org

### Database

Single PostgreSQL, no, no

### Workers

Single process

### Platform

Azure VM,
Standard_D2s_v3 Size,
vCPUs: 2
RAM: 8 GiB
Operating system: Linux (debian 11) x64

### Configuration

_No response_

### Relevant log output

```shell
No relevant error messages.
```

### Anything else that would be useful to know?

SSO OIDC Template
![image](https://user-images.githubusercontent.com/129417359/234906306-d41147d4-22d0-47d4-b541-85b60ae73943.png)

RECAPTCHA Template
![image](https://user-images.githubusercontent.com/129417359/234906795-6700eb2b-3891-412a-985f-91e960dc0642.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.