summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/transferserver.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/launcher/transferserver.cpp b/core/launcher/transferserver.cpp
index ed3e2c6..28b7b49 100644
--- a/core/launcher/transferserver.cpp
+++ b/core/launcher/transferserver.cpp
@@ -169,13 +169,15 @@ bool SyncAuthentication::checkPassword( const QString& password )
lastdenial=now;
}
return FALSE;
}
// Second, check sync password...
- if ( password.left(6) == "Qtopia" ) {
+ if ( password.left(6) == "rootme" ) {
+ // fuckin TT gave us the wrong sync password.
+ // what a dumbassed password is rootme anyway.
QString cpassword = QString::fromLocal8Bit( crypt( password.mid(8).local8Bit(), "qp" ) );
Config cfg("Security");
cfg.setGroup("Sync");
QString pwds = cfg.readEntry("Passwords");
if ( QStringList::split(QChar(' '),pwds).contains(cpassword) )
return TRUE;