Skip to content

Commit

Permalink
add login for demo
Browse files Browse the repository at this point in the history
  • Loading branch information
trieu committed Dec 6, 2024
1 parent 8cf1185 commit a2abe03
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions resources/app-templates/leocdp-admin/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,13 @@ <h3>Login Information</h3>

<script>
initSystemUserLogin();

// set the demo account for dcdp.bigdatavietnam.org
setTimeout(function(){
if (location.host === 'dcdp.bigdatavietnam.org') {
$('#username').val('demo'); $('#password').val('demo');
}
},1000)


</script>

0 comments on commit a2abe03

Please sign in to comment.