Skip to content

Commit b762069

Browse files
committed
Only abort crypted logins w/ LDAP
A conditional check was missing.
1 parent f42a701 commit b762069

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Logic/LSFoundation/OGoContextManager.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ - (BOOL)isLoginAuthorized:(NSString *)_login password:(NSString *)_pwd
503503
return NO;
504504
}
505505

506-
if (_crypted) {
506+
if (_crypted && [LSCommandContext useLDAPAuthorization]) {
507507
[self errorWithFormat:
508508
@"%s: cannot not perform LDAP-Login with crypted password",
509509
__PRETTY_FUNCTION__];

0 commit comments

Comments
 (0)