Преглед на файлове

Update login.py (#15320)

tags/1.0.1
albcunha преди 7 месеца
родител
ревизия
87efd4ab84
No account linked to committer's email address
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1
    1
      api/libs/login.py

+ 1
- 1
api/libs/login.py Целия файл

@@ -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

Loading…
Отказ
Запис