oc: activate user context on initialization

This commit is contained in:
Jesús García Sáez
2015-07-14 16:47:38 +02:00
parent 7d2f96e96b
commit cfab18e1b8
4 changed files with 5 additions and 6 deletions

View File

@@ -159,6 +159,8 @@ static NSMapTable *contextsTable = nil;
if ([userPassword length] == 0)
userPassword = username;
[authenticator setPassword: userPassword];
// Activate the profile on initialization
[self activate];
}
return self;