Commit 172786e
committed
examples: use username provided via URL
The credentials callback may be passed a username in case where
the URL already includes the expected username. As we usually
cannot use a different username in such context, we should use
that one if provided and not ask the user for a diferent
username.1 parent 611fbe4 commit 172786e
1 file changed
+9
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
353 | 353 | | |
354 | 354 | | |
355 | 355 | | |
356 | | - | |
357 | 356 | | |
358 | 357 | | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
359 | 365 | | |
360 | 366 | | |
361 | 367 | | |
362 | | - | |
363 | | - | |
| 368 | + | |
364 | 369 | | |
365 | 370 | | |
366 | 371 | | |
| |||
371 | 376 | | |
372 | 377 | | |
373 | 378 | | |
374 | | - | |
375 | | - | |
| 379 | + | |
376 | 380 | | |
377 | 381 | | |
378 | 382 | | |
379 | 383 | | |
380 | | - | |
381 | | - | |
382 | | - | |
383 | 384 | | |
384 | 385 | | |
385 | 386 | | |
| |||
0 commit comments