Tidy up QAuthenticatorPrivate::calculateResponse
call toBase64() with temp value Change-Id: Idedfd91f60900ec51923803a6bb9ed6631e64d94 Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io> Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
This commit is contained in:
parent
b4f6399a51
commit
470fab51fb
@ -554,8 +554,7 @@ QByteArray QAuthenticatorPrivate::calculateResponse(QByteArrayView requestMethod
|
||||
break;
|
||||
case QAuthenticatorPrivate::Basic:
|
||||
methodString = "Basic";
|
||||
response = (user + ':'_L1 + password).toLatin1();
|
||||
response = response.toBase64();
|
||||
response = (user + ':'_L1 + password).toLatin1().toBase64();
|
||||
phase = Done;
|
||||
break;
|
||||
case QAuthenticatorPrivate::DigestMd5:
|
||||
|
Loading…
x
Reference in New Issue
Block a user