Explorar o código

SystemComponent: fix reading auth. token from web-client

It was renamed at an unknown point.
Vincent Lang %!s(int64=8) %!d(string=hai) anos
pai
achega
815f435190
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();
 }
 
 /////////////////////////////////////////////////////////////////////////////////////////