Skip to content

Commit

Permalink
Set secure flag on session cookie
Browse files Browse the repository at this point in the history
  • Loading branch information
benmwebb committed Feb 22, 2022
1 parent 0e13a1b commit 53f9104
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions account/account/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

app = Flask(__name__, instance_relative_config=True)
app.config['DATABASE_DB'] = 'servers'
app.config.update(SESSION_COOKIE_SECURE=True)
app.config.from_pyfile('account.cfg')
util.setup_logging(app)
app.register_blueprint(saliweb.frontend._blueprint)
Expand Down

0 comments on commit 53f9104

Please sign in to comment.