Skip to content

Commit c8986a8

Browse files
author
Michael Lundbøl
committed
Don’t encode twice
1 parent adcaab6 commit c8986a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ public function getLoginUrl(string $redirectUrl, ?string $state = null, bool $re
311311
}
312312

313313
if (true === $reauthorize) {
314-
$params['prompt'] = urlencode('login consent');
314+
$params['prompt'] = 'login consent';
315315
}
316316

317317
return rtrim($this->clientConfig->getLoginUrl(), '/') . '/services/oauth2/authorize?' .

0 commit comments

Comments
 (0)