kvesteri / postgresql-audit

Audit trigger for PostgreSQL
BSD 2-Clause "Simplified" License
126 stars 28 forks source link

fix: remove unnecessary request context check #79

Closed tvuotila closed 1 year ago

tvuotila commented 1 year ago

flask_login.current_user is proxy to None when request context is not set. AttributeError catch handles that case.