Replace deprecated reset method with restore method
This commit is contained in:
parent
360d68ea5c
commit
046fbdc177
1 changed files with 1 additions and 1 deletions
|
@ -742,7 +742,7 @@ private
|
|||
@user.errors.set(:email, [])
|
||||
end
|
||||
|
||||
user.reset_email!
|
||||
user.restore_email!
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue