mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2025-02-04 01:02:22 +00:00
Fix a typo
This commit is contained in:
parent
30093d3a9f
commit
ee96d2b754
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ pub fn server_error(req: &Request<'_>) -> Ructe {
|
||||||
#[post("/csrf-violation?<target>")]
|
#[post("/csrf-violation?<target>")]
|
||||||
pub fn csrf_violation(target: Option<String>, rockets: PlumeRocket) -> Ructe {
|
pub fn csrf_violation(target: Option<String>, rockets: PlumeRocket) -> Ructe {
|
||||||
if let Some(uri) = target {
|
if let Some(uri) = target {
|
||||||
eprintln!("Csrf violation while acceding \"{}\"", uri)
|
eprintln!("Csrf violation while accessing \"{}\"", uri)
|
||||||
}
|
}
|
||||||
render!(errors::csrf(&rockets.to_context()))
|
render!(errors::csrf(&rockets.to_context()))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue