From 1ee48966ca9564dd9405bf349281210c68358a13 Mon Sep 17 00:00:00 2001 From: Vinoth Kannan Date: Thu, 30 Nov 2017 16:17:14 +0530 Subject: [PATCH] REVERT: FIX: Password required flag should be cleared whenever clearing the raw password --- app/models/user.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/models/user.rb b/app/models/user.rb index fd7ff74a25e..7ba8b057f91 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -1029,7 +1029,6 @@ class User < ActiveRecord::Base UserAuthToken.where(user_id: id).destroy_all # We should not carry this around after save @raw_password = nil - @password_required = false end end