Mercurial > p > roundup > code
diff roundup/cgi/templating.py @ 8576:6d2b5132739e
bug: replace self with client.db in templating anti_csrf_nonce.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 19 Apr 2026 21:50:18 -0400 |
| parents | b1024bf0d9f7 |
| children |
line wrap: on
line diff
--- a/roundup/cgi/templating.py Sun Apr 19 20:50:07 2026 -0400 +++ b/roundup/cgi/templating.py Sun Apr 19 21:50:18 2026 -0400 @@ -251,7 +251,7 @@ module/function. ''' - if self.db.config['WEB_USE_TOKENLESS_CSRF_PROTECTION']: + if client.db.config['WEB_USE_TOKENLESS_CSRF_PROTECTION']: return "0" otks = client.db.getOTKManager()
