mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Merge pull request #4710 from jmchilton/id_secret_fix
[17.09] Append fewer characters to id_secret by default for encrypting csrf tokens.
This commit is contained in:
@@ -888,7 +888,7 @@ class GalaxyWebTransaction(base.DefaultWebTransaction,
|
||||
token = ''
|
||||
if self.galaxy_session:
|
||||
token = self.security.encode_id(
|
||||
self.galaxy_session.id, kind="session_csrf_token"
|
||||
self.galaxy_session.id, kind="csrf"
|
||||
)
|
||||
return token
|
||||
|
||||
|
||||
Reference in New Issue
Block a user