mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-18 01:38:12 +00:00
merge of '62a7456859ae701daeb595d318eaba439c816312'
and '94b9cd9ca57eca41ee588c8d41da668682bdb1d0' Monotone-Parent: 62a7456859ae701daeb595d318eaba439c816312 Monotone-Parent: 94b9cd9ca57eca41ee588c8d41da668682bdb1d0 Monotone-Revision: c0fdc871e5cf2faadbed16ce1c4275647d0928b4 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-06-23T20:04:46 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
commit
abbffe7740
3 files changed
+4
-2
No files matched your search
@@ -488,7 +488,7 @@ andMultipleBookingsField: (NSString *) newMultipleBookingsField
|
|||||||
|
|
||||||
didBind = NO;
|
didBind = NO;
|
||||||
|
|
||||||
if ([_login length] > 0)
|
if ([_login length] > 0 && [_pwd length] > 0)
|
||||||
{
|
{
|
||||||
bindConnection = [[NGLdapConnection alloc] initWithHostName: hostname
|
bindConnection = [[NGLdapConnection alloc] initWithHostName: hostname
|
||||||
port: port];
|
port: port];
|
||||||
|
|||||||
@@ -21,7 +21,9 @@
|
|||||||
* Boston, MA 02111-1307, USA.
|
* Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef __OpenBSD__
|
||||||
#include <crypt.h>
|
#include <crypt.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#import <Foundation/NSArray.h>
|
#import <Foundation/NSArray.h>
|
||||||
#import <Foundation/NSCharacterSet.h>
|
#import <Foundation/NSCharacterSet.h>
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ function onLoginClick(event) {
|
|||||||
var password = $("password").value;
|
var password = $("password").value;
|
||||||
var language = $("language");
|
var language = $("language");
|
||||||
|
|
||||||
if (userName.length > 0) {
|
if (userName.length > 0 && password.length > 0) {
|
||||||
this.disabled = true;
|
this.disabled = true;
|
||||||
startAnimation($("animation"));
|
startAnimation($("animation"));
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user