Sha256: 801b7548236a2569d78a69f329136406740c7243f41aca6330543ba8e93319f0

Contents?: true

Size: 355 Bytes

Versions: 1

Compression:

Stored size: 355 Bytes

Contents

# Guide to upgrading from 1.x to 2.x

Pull request #43 added a new field to protect against "shoulder-surfing" attacks. If upgrading, you'll need to add the `:consumed_timestep` column to your `Users` model.

```ruby
class AddConsumedTimestepToUsers < ActiveRecord::Migration
  def change
    add_column :users, :consumed_timestep, :integer
  end
end
```

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
devise-two-factor-2.0.0 UPGRADING.md