Skip to content
This repository has been archived by the owner on Jan 25, 2019. It is now read-only.

Commit

Permalink
# Clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
silvioprog committed Jan 4, 2014
1 parent 9284361 commit 15cc97f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions demos/chat/authactns.pas
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ constructor TAuth.Create;
begin
inherited Create;
FSession := TBrookSession.Create;
FSession.CookieSecure := True;
FSession.TimeOut := 0;
end;

Expand Down
2 changes: 1 addition & 1 deletion demos/chat/chatactns.pas
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ procedure TChatPostMsg.Post;
const
MSG = '<div class="msgln">(%s) <b>%s</b>: %s<br></div>';
begin
Add(MSG, [DateTimeToStr(Now), Session.Fields['name'].AsString,
Add(MSG, [FormatDateTime('yyyy-mm-dd', Now), Session.Fields['name'].AsString,
StripHTMLMarkup(Fields['text'].AsString)]);
Save;
end;
Expand Down
2 changes: 1 addition & 1 deletion demos/chat/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</head>
<span class="error">%s</span>
<div id="login">
<form action="http://brookframework.org/cgi-bin/chat.bf/login" method="post">
<form action="https://brookframework.org/cgi-bin/chat.bf/login" method="post">
<p>Please enter your name to continue.</p>
<label for="name">Name:</label>
<input type="text" name="name" id="name" />
Expand Down

0 comments on commit 15cc97f

Please sign in to comment.