mirror of https://github.com/go-gitea/gitea.git
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>pull/15490/head^2
parent
f7830041f4
commit
217b5c150f
Loading…
Reference in New Issue