summaryrefslogtreecommitdiff
path: root/docs/quick_tutorial/authorization
diff options
context:
space:
mode:
authorsilum <deneys.maartens@gmail.com>2017-11-03 18:30:44 +0200
committerGitHub <noreply@github.com>2017-11-03 18:30:44 +0200
commitb83d693d23b3f1d96cfbe8ea7bd8b9cd404b7b7c (patch)
treee41c1fd1d9ddc490bab6d17bde4146fb4eea1d77 /docs/quick_tutorial/authorization
parent0042089cbba09cdf801f2139169f8c4cde182eb1 (diff)
downloadpyramid-b83d693d23b3f1d96cfbe8ea7bd8b9cd404b7b7c.tar.gz
pyramid-b83d693d23b3f1d96cfbe8ea7bd8b9cd404b7b7c.tar.bz2
pyramid-b83d693d23b3f1d96cfbe8ea7bd8b9cd404b7b7c.zip
views.py: prevent exception on unknown user login
Attempting authentication without specifying a login, or when the login is not known, causes an unhandled exception to be raised in `security.py` because `None` is passed to `check_password()` as the hashed password to check against.
Diffstat (limited to 'docs/quick_tutorial/authorization')
0 files changed, 0 insertions, 0 deletions