mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 20:03:03 +01:00
Misc
This commit is contained in:
parent
d5833b72f0
commit
daaaa9609c
@ -65,11 +65,12 @@ SSHORT SECURITY_exec_line(ISC_STATUS* isc_status,
|
|||||||
// temporary measure before PluginManager integration
|
// temporary measure before PluginManager integration
|
||||||
PathName plugFile(fb_utils::getPrefix(fb_utils::FB_DIR_PLUGINS, "user_management"));
|
PathName plugFile(fb_utils::getPrefix(fb_utils::FB_DIR_PLUGINS, "user_management"));
|
||||||
ModuleLoader::doctorModuleExtension(plugFile);
|
ModuleLoader::doctorModuleExtension(plugFile);
|
||||||
ModuleLoader::loadModule(plugFile);
|
if (ModuleLoader::loadModule(plugFile))
|
||||||
|
{
|
||||||
plugin = reinterpret_cast<Auth::ManagementPlugin*>(
|
plugin = reinterpret_cast<Auth::ManagementPlugin*>(
|
||||||
fb_query_plugin(Plugin::UserManagement, NULL));
|
fb_query_plugin(Plugin::UserManagement, NULL));
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (!plugin)
|
if (!plugin)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user