Commit a1efb78
Make
* Add logout_redirect_url var and option templating for matrix element client
* Simplify logout_redirect_url templating and make it safer
Using `to_json` to make it safer.
Judging by the code here https://github.com/element-hq/element-web/blob/0b24d33c64e5a161621f68fa8da65aaa8d1c847d/src/Lifecycle.ts#L1026-L1032
it doesn't seem like it leaving `logout_redirect_url` empty will hurt, so this patch removes the `if` block.
* Add comment for the `matrix_client_element_logout_redirect_url` variable
---------
Co-authored-by: Slavi Pantaleev <[email protected]>logout_redirect_url configuration setting for Element Web configurable (#3903)1 parent 6a07fb1 commit a1efb78
File tree
2 files changed
+5
-0
lines changed- roles/custom/matrix-client-element
- defaults
- templates
2 files changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
0 commit comments