Skip to content

Commit

Permalink
fixes issue #243
Browse files Browse the repository at this point in the history
  • Loading branch information
duarme authored Jan 22, 2025
1 parent 1337d46 commit 6710af9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,10 @@ Rails.application.config.session_store :cookie_store,
# ...
```

#### Clean up expired sessions

Call `Passwordless::Session.where('expires_at < ?', Time.zone.now).delete_all` in a task that runs periodically.

### Redirection after sign-in

By default Passwordless will redirect back to where the user wanted to go _if_ it knows where that is -- so you'll have to help it. `Passwordless::ControllerHelpers` provide a method:
Expand Down

0 comments on commit 6710af9

Please sign in to comment.