fix: do not use cur if login winix function if config.use_internal_loggin_mechanism is false
In the login winix function cur pointer will be null if config.use_internal_loggin_mechanism is false, in such a case those objects are not registered as winix functions but we have a public api (the public api should be moved somewhere e.g. make a service layer)
This commit is contained in:
@@ -45,7 +45,14 @@ namespace Winix
|
||||
namespace Fun
|
||||
{
|
||||
|
||||
|
||||
/*
|
||||
* WARNING
|
||||
* cur will be null if config.use_internal_loggin_mechanism is false
|
||||
* in such a case those objects are not registered as winix functions
|
||||
* but we have a public api
|
||||
* (the public api should be moved somewhere e.g. make a service layer)
|
||||
*
|
||||
*/
|
||||
class Login : public FunctionBase
|
||||
{
|
||||
public:
|
||||
|
Reference in New Issue
Block a user