From a6b004b65c74b8f9c0ef16db842570f3dea63942 Mon Sep 17 00:00:00 2001 From: Tim Wisniewski Date: Fri, 3 Jan 2025 14:55:45 -0500 Subject: [PATCH] Fix formatting typo README.md (#240) --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index bfccd99..d684185 100644 --- a/README.md +++ b/README.md @@ -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.: