Displaying 3 results from an estimated 3 matches for "new_pass".
Did you mean:
new_pages
2007 Oct 01
3
stringify_keys!
...flash[:notice] = "<b style = \"color:red\">No such user email
found</b>"
redirect_to :action => ''change_pass'' and return
end
if User.authenticate( params[:email], params[:current_pass] ) and
!@user.nil?
if params[:new_pass] == params[:new_passvfy]
begin
@user.update_attributes(@user.setpass = params[:new_pass])
rescue Exception => e
flash[:notice] = e
redirect_to :action => ''change_pass''
else
redirect_to :action => ''...
2005 Apr 23
7
Validation question
Hi all,
Is there a way to invoke validations at times other than save, create
and update? I know that I can do this by writing my own validation
checks using errors.add_[blah], but I''d like to leverage the existing
validation code.
What I have is two sets of fields in a record, set A and set B. Both
sets must be validated on record create. However, the trouble is that
after
2012 Jun 08
13
Default password hash
We still have MD5 as our default password hash, even though known-hash
attacks against MD5 are relatively easy these days. We've supported
SHA256 and SHA512 for many years now, so how about making SHA512 the
default instead of MD5, like on most Linux distributions?
Index: etc/login.conf
===================================================================
--- etc/login.conf (revision