Skip to content

Commit

Permalink
hide password login form.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-X-Net committed Jul 8, 2023
1 parent cb8a570 commit 305fc55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/default/x_tunnel/web_ui/config.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<ul class="nav nav-tabs">
<li class="" id="li-token-login"><a href="#token-login-tab" data-toggle="tab">{{ _("Token Login") }}</a></li>
<li class="" id="li-password-login"><a href="#password-login-tab" data-toggle="tab">{{ _("Password Login") }}</a></li>
<li class="" id="li-password-login" hidden><a href="#password-login-tab" data-toggle="tab">{{ _("Password Login") }}</a></li>
<li class="hide" id="li-info"><a href="#info" data-toggle="tab">{{ _("Account") }}</a></li>
<li class="hide" id="li-setting"><a href="#advanced" data-toggle="tab">{{ _("Settings") }}</a></li>
<li class="hide" id="li-plans"><a href="#plans" data-toggle="tab">{{ _("Plans") }}</a></li>
Expand Down Expand Up @@ -450,7 +450,7 @@ <h5>{{ _("Transfer Bandwidth") }}</h5>
$('#li-token-login').removeClass('hide');
$('#li-password-login').removeClass('hide');

if(uiwebview) {
if(uiwebview || true) {
$('#li-token-login').addClass('active');

$('#password-login-tab').addClass('hide');
Expand Down

0 comments on commit 305fc55

Please sign in to comment.