Skip to content
Browse files

add default login

  • Loading branch information...
1 parent 5550928 commit 7f78940c17891550b444defc1d94f29bf8defecf Vincent Richomme committed Feb 19, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/main/webapp/Views/HNLoginWindow.j
View
6 src/main/webapp/Views/HNLoginWindow.j
@@ -104,8 +104,8 @@ var SharedLoginWindow = nil;
[super orderFront:sender];
// FIXME: these values are for development only
// change these values to none and defaultButton visibility to NO
- [usernameField setStringValue:@"login"];
- [passwordField setStringValue:@"password"];
+ [usernameField setStringValue:@"webguest@smartmobili.com"];
+ [passwordField setStringValue:@""];
[defaultButton setEnabled:YES];
}
@@ -187,7 +187,7 @@ var SharedLoginWindow = nil;
-(BOOL)validateEmail:(CPString)email compliantRFC2822:(BOOL)compliant
{
var emailRegExp;
- var isValid = NO;
+ var isValid = YES;
if (compliant) {
// RFC2822 compliant

0 comments on commit 7f78940

Please sign in to comment.
Something went wrong with that request. Please try again.