• Resolved shhussain72

    (@shhussain72)


    I need to allow only login and disable registration. How can it be possible?

Viewing 4 replies - 1 through 4 (of 4 total)
  • maximx86

    (@maximx86)

    Try this custom css…

    
    .stm-lms-modal-login .modal-body .nav li:nth-child(2) {
    display: none !important;
    }
    
    .stm-lms-wrapper__login #stm-lms-register {
    display: none;
    }
    
    Thread Starter shhussain72

    (@shhussain72)

    This works but it only hides and what I mean actually is to disable it for security. Can we add any function etc to remove registration of new users.

    Plugin Support supportstylemix

    (@supportstylemix)

    Hello,

    Thanks for your request!

    Actually, there is a single page for sign-in/sign up. The page’s slug is

    lms-login

    , if you want it to redirect to another customized page with only registration you should put the new login page’s route in LMS Settings > Routes > Login.
    LMS-login page is created for a general-purpose learning system so that every registered user can do the login directly on that page.

    Thanks, @maximx86 for the correct Custom CSS code, it is also a good solution. However, you should not forget to write Custom CSS for the login modul which appears after users click the Get course button. Because this login module includes the registration section too.

    Sincerely

    hey The above CSS doesn’t seem to work

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Hide only registration’ is closed to new replies.