Session: send a mail to confirm gestionnaire login
This commit is contained in:
parent
2613d05a4f
commit
5690599289
14 changed files with 215 additions and 30 deletions
|
@ -0,0 +1,6 @@
|
|||
class AddEncryptedLoginTokenColumnToGestionnaire < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
add_column :gestionnaires, :encrypted_login_token, :text
|
||||
add_column :gestionnaires, :login_token_created_at, :datetime
|
||||
end
|
||||
end
|
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 2018_10_30_141238) do
|
||||
ActiveRecord::Schema.define(version: 2018_11_08_091339) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
@ -365,6 +365,8 @@ ActiveRecord::Schema.define(version: 2018_10_30_141238) do
|
|||
t.string "last_sign_in_ip"
|
||||
t.datetime "created_at"
|
||||
t.datetime "updated_at"
|
||||
t.text "encrypted_login_token"
|
||||
t.datetime "login_token_created_at"
|
||||
t.index ["email"], name: "index_gestionnaires_on_email", unique: true
|
||||
t.index ["reset_password_token"], name: "index_gestionnaires_on_reset_password_token", unique: true
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue