How to disable login page and registration in ojs version 2

hello, please help me:

  1. how to disable login page, so for the time being all the users can not login.
  2. how to disable the registration page

Thank You

Journal manager > Setup > Management > User registration is where you can do 2. However, disabling login for users who have already logged in, you would have to edit the template files I think. If you want to allow your own login, you would have to edit the login handler to check for the user role. So number 1 would involve some coding in any case.