1

私はOwncloud用のワンタイムパスワードアプリを使用しています.魔女はログオンフォームに2番目のパスワードフィールドを追加します.魔女はマルチOTPサービスに対して認証します.

問題は、otp 入力フィールドからのテキストフィールドのラベルが非表示にならないことです。

次の .js が該当します。

(function() {
    var saml = document.createElement('script'); saml.type = 'text/javascript'; 
    (document.getElementsByTagName('head')[0] ||
    document.getElementsByTagName('body')[0]).appendChild(saml); })();

    $(document).ready(function(){
        //$('#password').parent().hide();
        $('#password').parent().removeClass("infield groupbottom");
        $('#password').parent().addClass("infield groupmiddle");
        $('#password').parent().after(
            '<p class="infield groupbottom">'+
            '<input id="otpPassword" type="password" placeholder="" data-
typetoggle="#show" value="" name="otpPassword"'+
'original-title="">'+ '<input type="text" name="password-clone"
tabindex="0" autocomplete="off" style="display: none;"
original-title="">'+ '<label class="infield" for="otpPassword">One
Time Password</label>'+ '<img id="password-icon" class="svg" alt=""
src="/core/img/actions/password.svg">'+

'</p>');
        $('#remember_login').hide();
        $('#remember_login+label').hide();
        //$('#submit').hide();
});

または、こちらをご覧ください: http://pastebin.com/8YX2FEGt

誰かがこの問題を修正したのでしょうか?

4

1 に答える 1