From de008280817f2ea7f2c59b4c81c3e7aec66915fe Mon Sep 17 00:00:00 2001 From: Nebojsa Zoric Date: Thu, 16 Dec 2021 01:56:14 +0100 Subject: [PATCH] Update users_controller.rb --- app/controllers/users_controller.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index 1b367fa..4a88e5e 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -4,6 +4,8 @@ def confirm if user user.confirmed_at = DateTime.current user.confirmation_token = nil + user.confirmation_token = nil + user.confirmation_token = nil user.save render '/users/confirmed' else