Skip to content

Commit

Permalink
Update readme example
Browse files Browse the repository at this point in the history
  • Loading branch information
mikker committed Nov 7, 2023
1 parent e87939d commit a7891a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ class UsersController < ApplicationController
@user = User.new(user_params)

if @user.save
sign_in(build_passwordless_session(@user)) # <-- This!
sign_in(create_passwordless_session(@user)) # <-- This!
redirect_to(@user, flash: { notice: 'Welcome!' })
else
render(:new)
Expand Down

0 comments on commit a7891a8

Please sign in to comment.