Skip to content

Commit

Permalink
Merge pull request #133 from GSA/feature/remove_max_button
Browse files Browse the repository at this point in the history
Removing MAX Login Button. Unit Test Passed
  • Loading branch information
BuckinghamAJ authored Jul 8, 2024
2 parents cf46118 + 66766fb commit 46ba95a
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/app/auth/userlogin/userlogin.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,6 @@
</div>

<div class="text-center">
<button class="srt-button m-2"
style="float:none; display:inline; margin-top:3em;"
id="login"
aria-label="Login with MAX"
onClick=" (function() {
var client_host = window.location.hostname
var server_host = '';
if (client_host === 'localhost') { server_host = 'localhost:3000'}
if (client_host === 'srt-client.app.cloud.gov' || client_host === 'srt.app.cloud.gov') { server_host = 'srt-server.app.cloud.gov' }
if (client_host === 'srt-client-dev.app.cloud.gov') { server_host = 'srt-server-dev.app.cloud.gov' }
if (client_host === 'srt-client-staging.app.cloud.gov') { server_host = 'srt-server-staging.app.cloud.gov' }
//default to current name for dev servers
if (server_host === '') { server_host = 'localhost:3000';}
window.location = 'http://' + server_host + '/api/casLogin'
}()) ">Login with MAX
</button>
<button class="srt-button m-2"
style="float:none; display:inline; margin-top:3em; "
id="login"
Expand Down

0 comments on commit 46ba95a

Please sign in to comment.