-rw-r--r-- | core/launcher/transferserver.cpp | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/core/launcher/transferserver.cpp b/core/launcher/transferserver.cpp index 28b7b49..9d18b7b 100644 --- a/core/launcher/transferserver.cpp +++ b/core/launcher/transferserver.cpp | |||
@@ -172,9 +172,15 @@ bool SyncAuthentication::checkPassword( const QString& password ) | |||
172 | } | 172 | } |
173 | 173 | ||
174 | // Second, check sync password... | 174 | // Second, check sync password... |
175 | if ( password.left(6) == "rootme" ) { | 175 | QString pass = password.left(6); |
176 | // fuckin TT gave us the wrong sync password. | 176 | /* old QtopiaDesktops are sending |
177 | // what a dumbassed password is rootme anyway. | 177 | * rootme newer versions got a Qtopia |
178 | * prefixed. Qtopia prefix will suceed | ||
179 | * until the sync software syncs up | ||
180 | * FIXME | ||
181 | */ | ||
182 | if ( pass == "rootme" || pass == "Qtopia") { | ||
183 | |||
178 | QString cpassword = QString::fromLocal8Bit( crypt( password.mid(8).local8Bit(), "qp" ) ); | 184 | QString cpassword = QString::fromLocal8Bit( crypt( password.mid(8).local8Bit(), "qp" ) ); |
179 | Config cfg("Security"); | 185 | Config cfg("Security"); |
180 | cfg.setGroup("Sync"); | 186 | cfg.setGroup("Sync"); |