Skip to content

Commit

Permalink
Add missing field reset_password_token for enable reset password
Browse files Browse the repository at this point in the history
  • Loading branch information
joel committed Apr 13, 2012
1 parent b571c29 commit 2cd4666
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 9 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -16,3 +16,4 @@ script/pg-*
public/assets
config/settings/checkin.tau.so.conf.yml
config/settings/checkin.lacantine-toulouse.org.yml
config/database.yml
1 change: 1 addition & 0 deletions app/views/devise/passwords/edit.html.haml
@@ -1,6 +1,7 @@
#cartridge
%h2 Change your password
= simple_form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :put }, :validate => true) do |f|
= f.hidden_field :reset_password_token
= f.input :password
= f.input :password_confirmation
= f.button :submit, :class => 'primary', :id => :change_password, :value => 'Change Password!'
Expand Down
20 changes: 13 additions & 7 deletions config/database.yml
Expand Up @@ -25,11 +25,17 @@ production:
timeout: 5000

development:
adapter: postgresql
encoding: utf8
reconnect: false
database: checkin_development
adapter: sqlite3
database: db/development.sqlite3
pool: 5
username: checkin
password: QSDVRc3Rdsc323csQQ12
host: localhost
timeout: 5000

# development:
# adapter: postgresql
# encoding: utf8
# reconnect: false
# database: checkin_development
# pool: 5
# username: checkin
# password: QSDVRc3Rdsc323csQQ12
# host: localhost
8 changes: 6 additions & 2 deletions config/locales/devise.fr.yml
Expand Up @@ -32,11 +32,15 @@ fr:
p_box: 'Vous pouvez aussi vous identifier via Twitter, Facebook ou Google...'
remember_me: (Seulement sur cet ordinateur)
passwords:
send_instructions: "Vous allez recevoir un courriel contenant des instructions pour changer votre mot de passe."
updated: "Votre mot de passe a été changé. Vous êtes maintenant connecté."
user:
send_instructions: "Vous allez recevoir un courriel contenant des instructions pour changer votre mot de passe."
updated: "Votre mot de passe a été changé. Vous êtes maintenant connecté."
confirmations:
send_instructions: "Vous allez recevoir un courriel contenant des instructions pour activer votre compte."
confirmed: "Votre compte a été activé. Vous êtes maintenant connecté."
user:
send_instructions: "Vous allez recevoir un courriel contenant des instructions pour activer votre compte."
confirmed: "Votre compte a été activé. Vous êtes maintenant connecté."
unlocks:
send_instructions: "Vous allez recevoir un courriel avec des instructions pour déverrouiller votre compte."
unlocked: "Votre compte est déverrouillé. Vous êtes maintenant connecté."
Expand Down

0 comments on commit 2cd4666

Please sign in to comment.