Skip to content

Commit

Permalink
Update basic_auth.ex
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim committed Apr 12, 2024
1 parent eabf0b9 commit d864cea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/plug/basic_auth.ex
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ defmodule Plug.BasicAuth do
* The supplied `user` and `pass` may be empty strings;
* If you are comparing the username and password with existing strings,
do not use `==/2`. Use `Plug.Crypto.secure_compare/2` instead.
do not use `==/2` or pattern matching. Use `Plug.Crypto.secure_compare/2`
instead.
"""
import Plug.Conn
Expand Down

0 comments on commit d864cea

Please sign in to comment.