remove TODO comment
This commit is contained in:
parent
9c1890f611
commit
7b0c893703
@ -316,12 +316,6 @@ async fn show_consent_page(
|
|||||||
let xsrf_token = login_session
|
let xsrf_token = login_session
|
||||||
.generate_xsrf_token(clock.now_utc())
|
.generate_xsrf_token(clock.now_utc())
|
||||||
.expect("must be able to create a XSRF token");
|
.expect("must be able to create a XSRF token");
|
||||||
// TODO rm comment
|
|
||||||
// Html(format!(
|
|
||||||
// "hi <u>{}</u>, consent to <u>{}</u>? <form method='POST'><input type='hidden' name='xsrf' value='{}'><button type='submit' name='action' value='accept'>Accept</button> <button type='submit' name='action' value='deny'>Deny</button></form>",
|
|
||||||
// login_session.user_name, client_config.name, xsrf_token
|
|
||||||
// ))
|
|
||||||
// .into_response()
|
|
||||||
|
|
||||||
let client_redirect_summary = match redirect_uri.parse::<Uri>() {
|
let client_redirect_summary = match redirect_uri.parse::<Uri>() {
|
||||||
Ok(uri) => {
|
Ok(uri) => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user