浏览代码

Update the domain for cookies

Lee Morgan 1 月之前
父节点
当前提交
804a170158
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      src/logic/create_cookie.rs

+ 0 - 1
src/logic/create_cookie.rs

@@ -11,7 +11,6 @@ pub fn create_cookie(name: String, value: String) -> Cookie<'static> {
             .finish()
     } else {
         Cookie::build(name, value)
-            .domain("exmaple.com")
             .path("/")
             .http_only(true)
             .same_site(SameSite::Lax)