1
0
Fork 0
mirror of https://git.42l.fr/neil/sncf.git synced 2024-04-24 18:40:29 +02:00

add admin token in server-side templates

This commit is contained in:
neil 2021-04-13 00:02:09 +02:00
parent 112ea773a2
commit 0d38e2f2d4

View file

@ -8,6 +8,7 @@ use crate::config::Config;
pub struct TplIndex<'a> {
pub lang: &'a str,
pub csrf_token: &'a str,
pub sncf_admin_token: Option<String>,
}
#[derive(Template)]