Commit 7956dc5
authored
decode bytes from secure cookie (#562)
The get_secure_cookie interface returns bytes not str
https://www.tornadoweb.org/en/stable/web.html#tornado.web.RequestHandler.get_secure_cookie
This fixes a minor issue where `handler.get_current_user` would return
bytes rather than str.1 parent 2d43c93 commit 7956dc5
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| 175 | + | |
| 176 | + | |
175 | 177 | | |
176 | 178 | | |
177 | 179 | | |
| |||
0 commit comments