Explorar el Código

Update login.py (#15320)

tags/1.0.1
albcunha hace 7 meses
padre
commit
87efd4ab84
No account linked to committer's email address
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      api/libs/login.py

+ 1
- 1
api/libs/login.py Ver fichero

@@ -77,7 +77,7 @@ def login_required(func):
)
if tenant_account_join:
tenant, ta = tenant_account_join
account = Account.query.filter_by(id=ta.account_id).first()
account = db.session.query(Account).filter_by(id=ta.account_id).first()
# Login admin
if account:
account.current_tenant = tenant

Cargando…
Cancelar
Guardar