Skip to content
Snippets Groups Projects
Commit 6abf6a11 authored by Erik Karlsson's avatar Erik Karlsson Committed by Sukru Senli
Browse files

session: check for already loaded config in rpc_login_test_login

When the rpc_session_thaw function is restoring saved sessions,
rpc_login_test_login is called multiple times on the same UCI
context. It needs to use uci_lookup_package in case configuration is
already loaded. Otherwise, if there is more than one session to
restore, only the first one will succeed and the remaining ones end up
with the ACLs missing.
parent 7f15e4f0
Branches
No related tags found
No related merge requests found
Pipeline #37829 passed with warnings