Skip to content

Commit

Permalink
Fix formatting typo README.md (#240)
Browse files Browse the repository at this point in the history
  • Loading branch information
timwis authored Jan 3, 2025
1 parent a03638d commit a6b004b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -275,11 +275,13 @@ Passwordless.configure do |config|
config.after_session_confirm = ->(session, request) {
user = session.authenticatable
user.update!(
email_verified: true.
email_verified: true,
last_login_ip: request.remote_ip
)
}
end
```

### Token generation

By default Passwordless generates short, 6-digit, alpha numeric tokens. You can change the generator using `Passwordless.config.token_generator` to something else that responds to `call(session)` eg.:
Expand Down

0 comments on commit a6b004b

Please sign in to comment.