Permalink
Browse files

Don't lowercase the password for heaven's sake!

  • Loading branch information...
1 parent 061bd96 commit 7befa93372633bcccc4edda976634525ca532f78 @mxcl mxcl committed Apr 22, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/unicorn/widgets/LoginDialog.cpp
@@ -98,7 +98,7 @@ LoginDialog::authenticate()
WsReply* reply = WsRequestBuilder( "auth.getMobileSession" )
.add( "username", m_username )
// always lowercase the username before generating the md5
- .add( "authToken", Qt::md5( (m_username + m_password).toLower().toUtf8() ) )
+ .add( "authToken", Qt::md5( (m_username + m_password).toUtf8() ) )
.get();
reply->setParent( this );

0 comments on commit 7befa93

Please sign in to comment.