mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-07 20:22:27 +02:00
Merge pull request #15279 from kitely/allow-emails-with-plus-sign
case 21982: Allow logging-in with an email that contains a '+' sign
This commit is contained in:
commit
df97f595f2
1 changed files with 1 additions and 1 deletions
|
@ -536,7 +536,7 @@ void AccountManager::requestAccessToken(const QString& login, const QString& pas
|
|||
|
||||
QByteArray postData;
|
||||
postData.append("grant_type=password&");
|
||||
postData.append("username=" + login + "&");
|
||||
postData.append("username=" + QUrl::toPercentEncoding(login) + "&");
|
||||
postData.append("password=" + QUrl::toPercentEncoding(password) + "&");
|
||||
postData.append("scope=" + ACCOUNT_MANAGER_REQUESTED_SCOPE);
|
||||
|
||||
|
|
Loading…
Reference in a new issue