diff options
author | zeripath <art27@cantab.net> | 2021-04-15 13:22:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-15 13:22:04 +0100 |
commit | 217b5c150f85b5dc1786383ae99a07dab45a6c97 (patch) | |
tree | 3e3bb996f2bf25243d26bb6d90a5c8b74fb29751 /templates/repo | |
parent | f7830041f4538633362de6607bbfc8c5f645f0a7 (diff) | |
download | gitea-217b5c150f85b5dc1786383ae99a07dab45a6c97.tar.gz gitea-217b5c150f85b5dc1786383ae99a07dab45a6c97.zip |
Query the DB for the hash before inserting in to email_hash (#15457)
Some postgres users have logging which logs even failed transactions. So
just query the db before trying to insert.
Fix #15451
Signed-off-by: Andrew Thornton art27@cantab.net
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'templates/repo')
0 files changed, 0 insertions, 0 deletions