class Pages{

    constructor() {
        this.otpSecretField = document.querySelector(`.nmb-otp-secret-key input`);
        this.generateOTPSecret();
    }

    generateOTPSecret(){
        if(this.otpSecretField){
            if(this.otpSecretField.value === ''){
                this.otpSecretField.value = NOMOREBOTS.Random_OTP_Secret;
            }
        }
    }
}
window.addEventListener('DOMContentLoaded', (event) => {
    new Pages();
});
