Skip to content

Commit

Permalink
Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Mosnar committed Mar 31, 2021
1 parent d3e9abc commit f9caa41
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,8 @@ to modify the authorization parameters before the connection URL is rendered.
{{ app.renderConnector('cp') }}
{# I can also just render the link URL #}
<a href="{{ app.getRedirectUrl('cp') }}">Login</a>
{# Note: As of 2.1.9, a return URL may be sent as a paramter in getRedirectUrl() #}
<a href="{{ app.getRedirectUrl('cp', craft.app.request.url) }}">Login</a>
```

```php
Expand Down

0 comments on commit f9caa41

Please sign in to comment.