Skip to content

Commit 46ea086

Browse files
committed
docs: update Strategy.prototype.currentUrl JSDoc
refs: #714
1 parent b0e57fe commit 46ea086

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/passport.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,8 +381,7 @@ export class Strategy implements passport.Strategy {
381381
* - Its `searchParams` are used as the authorization response parameters when
382382
* the response type used by the client is `code`
383383
* - Its value stripped of `searchParams` and `hash` is used as the
384-
* `redirect_uri` authorization code grant token endpoint parameter unless
385-
* callbackURL was specified in the Strategy constructor
384+
* `redirect_uri` authorization code grant token endpoint parameter
386385
*/
387386
currentUrl(req: express.Request): URL {
388387
return new URL(`${req.protocol}://${req.host}${req.url}`)

0 commit comments

Comments
 (0)