mirror of
https://git.42l.fr/neil/sncf.git
synced 2024-05-02 22:13:10 +02:00
add admin token in server-side templates
This commit is contained in:
parent
112ea773a2
commit
0d38e2f2d4
|
@ -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)]
|
||||
|
|
Loading…
Reference in a new issue