OSDN Git Service
(root)
/
newbbs
/
newbbs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9f8b87
)
セキュアクッキーやめました
author
yamat0jp
<terukohietori@gmail.com>
Thu, 9 Jan 2020 11:44:34 +0000
(20:44 +0900)
committer
yamat0jp
<terukohietori@gmail.com>
Thu, 9 Jan 2020 11:44:34 +0000
(20:44 +0900)
WebModuleUnit1.pas
patch
|
blob
|
history
diff --git
a/WebModuleUnit1.pas
b/WebModuleUnit1.pas
index
7b86976
..
585095e
100644
(file)
--- a/
WebModuleUnit1.pas
+++ b/
WebModuleUnit1.pas
@@
-849,11
+849,11
@@
begin
Name := 'user';
Value := hash(Request.ContentFields.Values['password']);
Expires := Now + 14;
- Secure := true;
+
//
Secure := true;
end;
i := DataModule1.FDTable1.Lookup('database',
Request.ContentFields.Values['record'], 'dbnum');
- Response.SendRe
sponse
;
+ Response.SendRe
direct('/admin?db='+i.ToString)
;
end;
procedure TWebModule1.WebModule1logoutAction(Sender: TObject;