Convert auth/setup spec controller->system/request (#33604)
This commit is contained in:
@@ -18,7 +18,7 @@ class Auth::SetupController < ApplicationController
|
||||
|
||||
if @user.update(user_params)
|
||||
@user.resend_confirmation_instructions unless @user.confirmed?
|
||||
redirect_to auth_setup_path, notice: I18n.t('auth.setup.new_confirmation_instructions_sent')
|
||||
redirect_to auth_setup_path, notice: t('auth.setup.new_confirmation_instructions_sent')
|
||||
else
|
||||
render :show
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user