remmovev optional from auth data in session object

This commit is contained in:
Arthur Passos 2024-06-27 14:33:28 -03:00
parent 43a9194739
commit e111958762
2 changed files with 2 additions and 2 deletions

View File

@ -707,7 +707,7 @@ void Session::recordLoginSuccess(ContextPtr login_context) const
access->getAccess(),
getClientInfo(),
user,
*user_authenticated_with);
user_authenticated_with);
}
notified_session_log_about_login = true;

View File

@ -113,7 +113,7 @@ private:
mutable UserPtr user;
std::optional<UUID> user_id;
std::optional<AuthenticationData> user_authenticated_with;
AuthenticationData user_authenticated_with;
ContextMutablePtr session_context;
mutable bool query_context_created = false;