Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
acharneski committed Nov 23, 2023
1 parent d605928 commit e63640a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ open class WelcomeServlet(private val parent : com.simiacryptus.skyenet.webui.ap
</div>
<div id="namebar">
<a href="/googleLogin" id="username">Login</a>
<a href="/login" id="username">Login</a>
</div>
<table id="applist">
Expand Down
2 changes: 1 addition & 1 deletion webui/src/main/resources/application/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
</div>

<div id="namebar">
<a href="/googleLogin" id="username">Login</a>
<a href="/login" id="username">Login</a>
</div>

<div id="session">
Expand Down
2 changes: 1 addition & 1 deletion webui/src/main/resources/application/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ document.addEventListener('DOMContentLoaded', () => {

const loginLink = document.getElementById('username');
if (loginLink) {
loginLink.href = '/googleLogin?redirect=' + encodeURIComponent(window.location.pathname);
loginLink.href = '/login?redirect=' + encodeURIComponent(window.location.pathname);
}

fetch('appInfo')
Expand Down
2 changes: 1 addition & 1 deletion webui/src/main/resources/welcome/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ document.addEventListener('DOMContentLoaded', () => {

const loginLink = document.getElementById('username');
if (loginLink) {
loginLink.href = '/googleLogin?redirect=' + encodeURIComponent(window.location.pathname);
loginLink.href = '/login?redirect=' + encodeURIComponent(window.location.pathname);
}

fetch('userInfo')
Expand Down

0 comments on commit e63640a

Please sign in to comment.