Skip to content

Commit 66766fb

Browse files
committed
Removing MAX Login Button
1 parent cf46118 commit 66766fb

1 file changed

Lines changed: 0 additions & 16 deletions

File tree

src/app/auth/userlogin/userlogin.component.html

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,6 @@
55
</div>
66

77
<div class="text-center">
8-
<button class="srt-button m-2"
9-
style="float:none; display:inline; margin-top:3em;"
10-
id="login"
11-
aria-label="Login with MAX"
12-
onClick=" (function() {
13-
var client_host = window.location.hostname
14-
var server_host = '';
15-
if (client_host === 'localhost') { server_host = 'localhost:3000'}
16-
if (client_host === 'srt-client.app.cloud.gov' || client_host === 'srt.app.cloud.gov') { server_host = 'srt-server.app.cloud.gov' }
17-
if (client_host === 'srt-client-dev.app.cloud.gov') { server_host = 'srt-server-dev.app.cloud.gov' }
18-
if (client_host === 'srt-client-staging.app.cloud.gov') { server_host = 'srt-server-staging.app.cloud.gov' }
19-
//default to current name for dev servers
20-
if (server_host === '') { server_host = 'localhost:3000';}
21-
window.location = 'http://' + server_host + '/api/casLogin'
22-
}()) ">Login with MAX
23-
</button>
248
<button class="srt-button m-2"
259
style="float:none; display:inline; margin-top:3em; "
2610
id="login"

0 commit comments

Comments
 (0)