# Authlogic: Authenticate with login, password and type fields

**URL:** <https://www.ruby-forum.com/t/authlogic-authenticate-with-login-password-and-type-fields/188979>\
**Category:** Rails\
**Created:** [May 21, 2010, 11:13am UTC](https://www.ruby-forum.com/t/authlogic-authenticate-with-login-password-and-type-fields/188979 "2010-05-21T11:13:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![david](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/aeb1de/32.png) [@david](https://www.ruby-forum.com/u/david)\
**Post date:** [May 21, 2010, 11:13am UTC](https://www.ruby-forum.com/t/authlogic-authenticate-with-login-password-and-type-fields/188979/1 "2010-05-21T11:13:19Z")

</div>

Hi guys,

How can we check _type_ field in addition of _login_ and _password_  
fields, before saving a new UserSession with Authlogic?

Thanks.
