disable accountLogin, allow only userLogin

Help
samsonbek
2013-05-29
2013-06-12
  • samsonbek
    samsonbek
    2013-05-29

    Hi everybody,

    i created "user1" user with password "user1" in "sysadmin" account.
    in private.xml i set accountLogin to false, and on login page only user and password fields are present, but i can't login to system with user1/user1.
    So my question is, what is the purpose of "accountLogin" attribute in "Domain" tag? How to hide "account" field and make users to input only user/password in login form?

    If i understand right, default "admin" user in "sysadmin" account is like super user, so if i disable "accountLogin", i will be able to login with "admin" user and administrate other users?

     
  • samsonbek
    samsonbek
    2013-05-29

    Ohh, i'm sorry, i hurried, i found the answer.
    To allow login only with "username"/"password" i must set default account at <DefaultLoginAccount> tag in private.xml file.