title: Yii2: how to login at frontend and backend in different db tables?
body: <p>In yii2 advanced template there is already user registration with mysql. When I register it inserts in <code>users</code> new record. Wherever I am in <code>/frontend</code> or <code>/backend</code>, I can login via <code>users</code>.</p>
  
  <p>I want to create new table <code>admins</code> for only admins. But how to tell yii2 to check <code>admins</code> instead <code>users</code> in <code>/backend</code>?</p>