Con `false`, el valor por defecto, `CurrentUser::theme()` ignora el tema guardado del usuario y se usa siempre `app.theme`. El tema guardado se conserva por si se activa.
16 lines
322 B
TOML
16 lines
322 B
TOML
[app]
|
|
name = "Testing"
|
|
# Lets the tests check that a user's own theme is applied (it is off by default).
|
|
theme_per_user = true
|
|
|
|
[server]
|
|
bind_port = 9000
|
|
trusted_origins = ["https://Trusted.example/"]
|
|
secure_cookies = true
|
|
|
|
[upload]
|
|
dir = "target/test-uploads"
|
|
|
|
[test]
|
|
string_value = "Modified value"
|
|
float_value = 8.7654
|