#958 ✓invalid
jaime

validate the password lifecycle, alphanumeric

Reported by jaime | July 14th, 2011 @ 05:30 PM

good, I have a life cycle:

create :signup, :available_to => "Guest",
:params => [:name, :email_address, :email_confirmacion, :password, :password_confirmation],

       :become => :no_active do UserMailer.deliver_init_signed_up(self, lifecycle.key)
           transition :request_password_reset, { :active => :active }, :new_key => true do
        UserMailer.deliver_forgot_password(self, lifecycle.key)
    end

    transition :reset_password, { :active => :active }, :available_to => :key_holder,
               :params => [ :password, :password_confirmation ]

    transition :signed_up_confirmation, { :no_active => :active }, :available_to => :all

end

I need to validate that the key to accept only alphanumeric characters (a-zA-Z0-9), I made several tests but I have not worked, thanks to that I can help ...

P.D., my English is not good :(

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

People watching this ticket

Pages