mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
disable secure cookie for windows, fix header for unix
This commit is contained in:
parent
1840f08ca9
commit
184cc8277c
@ -17,7 +17,7 @@
|
||||
#ifndef Data_MySQL_Binder_INCLUDED
|
||||
#define Data_MySQL_Binder_INCLUDED
|
||||
|
||||
#include "Poco/MySQL.h"
|
||||
#include "MySQL.h"
|
||||
#include "Poco/Data/AbstractBinder.h"
|
||||
#include "Poco/Data/LOB.h"
|
||||
#include "Poco/MySQLException.h"
|
||||
|
||||
@ -413,7 +413,9 @@ Poco::Net::HTTPCookie Session::getLoginCookie()
|
||||
// prevent reading or changing cookie with js
|
||||
keks.setHttpOnly();
|
||||
// send cookie only via https
|
||||
//keks.setSecure(true);
|
||||
#ifndef WIN32
|
||||
keks.setSecure(true);
|
||||
#endif
|
||||
|
||||
return keks;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user