We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10a895d commit ef2f082Copy full SHA for ef2f082
src/webserver/oidc.rs
@@ -783,11 +783,7 @@ fn create_nonce_cookie(nonce: &Nonce) -> Cookie<'_> {
783
}
784
785
fn create_redirect_cookie<'a>(csrf_token: &CsrfToken, initial_url: &'a str) -> Cookie<'a> {
786
- let cookie_name = format!(
787
- "{}{}",
788
- SQLPAGE_REDIRECT_URL_COOKIE_PREFIX,
789
- csrf_token.secret()
790
- );
+ let cookie_name = SQLPAGE_REDIRECT_URL_COOKIE_PREFIX.to_owned() + csrf_token.secret();
791
Cookie::build(cookie_name, initial_url)
792
.secure(true)
793
.http_only(true)
0 commit comments