Skip to content

Commit 22ce2a1

Browse files
committed
fix: change OAuth authentication link to open in same tab
Change target="_blank" to target="_self" in auth-url.html template to improve user experience. When users click "Authenticate with Trakt.tv", the link now opens in the same tab instead of a new window, allowing them to naturally return to the application after OAuth callback completion.
1 parent 7d41d35 commit 22ce2a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/templates/auth-url.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ <h1>🔗 OAuth Authentication</h1>
4747
</div>
4848

4949
<div class="auth-action">
50-
<a href="{{.AuthURL}}" target="_blank" class="btn btn-primary btn-large">
50+
<a href="{{.AuthURL}}" target="_self" class="btn btn-primary btn-large">
5151
🔗 Authenticate with Trakt.tv
5252
</a>
5353
</div>

0 commit comments

Comments
 (0)