ArekSredzki/electron-release-server

only create a session under the /admin segment

Open

#108 opened on Dec 23, 2016

View on GitHub
 (1 comment) (0 reactions) (0 assignees)JavaScript (561 forks)github user discovery
feature_requesthelp wanted

Repository metrics

Stars
 (2,207 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

currently a new sails session (and corresponding cookie) is created when you access any HTTP resource at any segment, this should be changed to only request a session at the /admin segment, as its the only segment where a session is really needed.

Contributor guide