title: Yii2 Disable user registration for amnah/yii2-user
body: <p>I am using the user module <a href="https://github.com/amnah/yii2-user" rel="nofollow noreferrer">amnah/yii2-user</a> in my Yii2 application. I need to disable some actions for the user module.</p>
  
  <p>For example, how can I disable the user registration (/user/register).</p>