# Authlogic and updateing a user without changing password

**URL:** <https://www.ruby-forum.com/t/authlogic-and-updateing-a-user-without-changing-password/171609>\
**Category:** Rails\
**Created:** [July 6, 2009, 5:00pm UTC](https://www.ruby-forum.com/t/authlogic-and-updateing-a-user-without-changing-password/171609 "2009-07-06T17:00:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fipa](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/9e8a1a/32.png) [@fipa](https://www.ruby-forum.com/u/fipa)\
**Post date:** [July 6, 2009, 5:00pm UTC](https://www.ruby-forum.com/t/authlogic-and-updateing-a-user-without-changing-password/171609/1 "2009-07-06T17:00:15Z")

</div>

Hi,

I created a new Rails app with authlogic to handle authentication and  
what have you. In my admin section I’d like to change only the state of  
users. The problem is that when I submit the form, I get the following  
error: Password can’t be blank

How to tell authlogic to not care about this error? Is it possible to  
provide te Ã -la restful\_auth option :allow\_blank =\> true ?

Regards

---

<div class="post-metadata">

**Author:** ![fipa](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/9e8a1a/32.png) [@fipa](https://www.ruby-forum.com/u/fipa)\
**Post date:** [July 6, 2009, 5:21pm UTC](https://www.ruby-forum.com/t/authlogic-and-updateing-a-user-without-changing-password/171609/2 "2009-07-06T17:21:48Z")

</div>

Damn! I had a validates\_presence\_of :password lurking around.
