Handle OperationalError database exception (in case the database connection is down) in which case set user ID to -1 as for the permission denied case.
Handle OperationalError database exception (in case the database
connection is down) in which case set user ID to -1 as for the
permission denied case.

tiborsimko/invenio-accounts,inspirehep/invenio-accounts,inspirehep/invenio-accounts,inveniosoftware/invenio-accounts,inspirehep/invenio-accounts,inveniosoftware/invenio-accounts,tiborsimko/invenio-accounts,inveniosoftware/invenio-accounts,tiborsimko/invenio-accounts