|
|
@ -22,6 +22,8 @@ class Users::ApplyAuthenticationService < ApplicationService
|
|
|
|
user.authentication = false
|
|
|
|
user.authentication = false
|
|
|
|
user.save!
|
|
|
|
user.save!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
user.user_extension.update!(gender: params[:gender].to_i) if params[:gender].present?
|
|
|
|
|
|
|
|
|
|
|
|
user.apply_user_authentication.create!(auth_type: 1, status: 0)
|
|
|
|
user.apply_user_authentication.create!(auth_type: 1, status: 0)
|
|
|
|
|
|
|
|
|
|
|
|
move_image_file! unless params[:upload_image].to_s == 'false'
|
|
|
|
move_image_file! unless params[:upload_image].to_s == 'false'
|
|
|
|