Browse Source

SystemComponent: fix reading auth. token from web-client

It was renamed at an unknown point.
Vincent Lang 8 năm trước cách đây
mục cha
commit
815f435190
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/system/SystemComponent.cpp

+ 1 - 1
src/system/SystemComponent.cpp

@@ -277,7 +277,7 @@ void SystemComponent::userInformation(const QVariantMap& userModel)
 
   SettingsComponent::Get().setUserRoleList(roleList);
 
-  m_authenticationToken = userModel.value("authenticationToken").toString();
+  m_authenticationToken = userModel.value("authToken").toString();
 }
 
 /////////////////////////////////////////////////////////////////////////////////////////