Skip to content

Commit f040cf9

Browse files
committed
another url fix
1 parent f803d24 commit f040cf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inventory-manager.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -837,7 +837,7 @@ <h2 id="single-item-name" class="single-item-name"></h2>
837837
document.getElementById('logout-btn').addEventListener('click', handleLogout);
838838
document.getElementById('create-item-btn').addEventListener('click', createNewItem);
839839
document.getElementsByClassName('login-btn')[0].addEventListener('click', () => {
840-
window.location.href = 'https://rotur.dev/auth?redirect=' + encodeURIComponent(window.location.href);
840+
window.location.href = 'https://rotur.dev/auth?return_to=' + encodeURIComponent(window.location.href);
841841
});
842842
});
843843

0 commit comments

Comments
 (0)