File tree 3 files changed +6
-4
lines changed
3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -23,9 +23,10 @@ Use latest ESP core lib (from Github)
23
23
24
24
// See https://github.com/me-no-dev/ESPAsyncWebServer/pull/684
25
25
#define USE_AUTH_COOKIE
26
- #define MY_COOKIE_FULL " LLKQ=7;max-age=31536000;"
27
- #define MY_COOKIE_DEL " LLKQ="
28
- #define MY_COOKIE " LLKQ=7"
26
+ // 1 year age, path helps Safari to unset
27
+ #define MY_COOKIE_FULL " LLKQ=3; Max-Age=31536000; Path=/;"
28
+ #define MY_COOKIE_DEL " LLKQ=; Max-Age=-1; Path=/;"
29
+ #define MY_COOKIE " LLKQ=3"
29
30
30
31
#ifndef USE_AUTH_COOKIE
31
32
#define USE_AUTH_STAT // Base Auth for stat, /commands and SPIFFSEditor
Original file line number Diff line number Diff line change 329
329
< div id ="g2 " class ="gauge "> </ div >
330
330
< div id ="C " class ="clk " onclick ="getBtime(); "> </ div >
331
331
< div id ="C2 " class ="clk2 "> </ div >
332
+ < p > < a href ="/login "> Logoff</ a > </ p >
332
333
</ div >
333
334
334
335
< script src ="app.min.js "> </ script >
Original file line number Diff line number Diff line change 12
12
< br > < br >
13
13
< h4 > Password</ h4 >
14
14
< form action ="/lg2n " method ="post ">
15
- < input type ="password " name ="pa2w ">
15
+ < input type ="password " name ="pa2w "> < br > < br >
16
16
< input type ="checkbox " name ="lg0f "> < label for ="lg0f "> Logoff</ label > < br > < br >
17
17
< input type ="submit " value ="Submit ">
18
18
</ form > </ center >
You can’t perform that action at this time.
0 commit comments