diff options
| author | Chris McDonough <chrism@plope.com> | 2012-03-11 20:33:02 -0700 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2012-03-11 20:33:02 -0700 |
| commit | a981d140afb9b6ce88b07c62245b2a4488e5d887 (patch) | |
| tree | 8b7c3ab54b631c20835dcdb6ab3acf30f1ab5e78 | |
| parent | e73a5496b04952c45201449a5ce75d89c6678b7e (diff) | |
| parent | 08436915f029ea998022888782b6ef2f5224ba32 (diff) | |
| download | pyramid-a981d140afb9b6ce88b07c62245b2a4488e5d887.tar.gz pyramid-a981d140afb9b6ce88b07c62245b2a4488e5d887.tar.bz2 pyramid-a981d140afb9b6ce88b07c62245b2a4488e5d887.zip | |
Merge pull request #466 from liangsun/master
To make the dummy csrf token have the same length as a real one.
| -rw-r--r-- | pyramid/testing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyramid/testing.py b/pyramid/testing.py index d32a7fe0b..40e90cda6 100644 --- a/pyramid/testing.py +++ b/pyramid/testing.py @@ -632,7 +632,7 @@ class DummySession(dict): return storage def new_csrf_token(self): - token = 'csrft' + token = '0123456789012345678901234567890123456789' self['_csrft_'] = token return token |
