How to set the secure flag for cookie _forum_session

There is no way to modify in discourse code?