# Authlogic Reset Password

**URL:** <https://www.ruby-forum.com/t/authlogic-reset-password/178641>\
**Category:** Rails\
**Created:** [November 8, 2009, 8:56pm UTC](https://www.ruby-forum.com/t/authlogic-reset-password/178641 "2009-11-08T20:56:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sunny36](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/b77776/32.png) [@sunny36](https://www.ruby-forum.com/u/sunny36)\
**Post date:** [November 8, 2009, 8:56pm UTC](https://www.ruby-forum.com/t/authlogic-reset-password/178641/1 "2009-11-08T20:56:11Z")

</div>

I’ve implemented password reset using Authlogic basically following  
this tutorial  
[http://www.binarylogic.com/2008/11/16/tutorial-reset-passwords-with-authlogic/](http://www.binarylogic.com/2008/11/16/tutorial-reset-passwords-with-authlogic/)

Everything works fine except if the user leaves both the password and  
password\_confirmation as blank no errors are generated.

I read the docs and I understand that this is how it’s suppose to work  
by default authlogic ignores blank password. For example when a user  
is editing his profile they might leave the password blank which means  
no change to the password.

For password reset the password needs to validated. Is there a way to  
configure authlogic to validate password only during password reset.
