diff --git a/app/models/devise_token_auth/concerns/user_omniauth_callbacks.rb b/app/models/devise_token_auth/concerns/user_omniauth_callbacks.rb index 49cb8a9d1..50f77c698 100644 --- a/app/models/devise_token_auth/concerns/user_omniauth_callbacks.rb +++ b/app/models/devise_token_auth/concerns/user_omniauth_callbacks.rb @@ -23,6 +23,9 @@ def email_provider? end def sync_uid + if devise_modules.include?(:confirmable) && !@bypass_confirmation_postpone + return if postpone_email_change? + end self.uid = email if email_provider? end end