mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
FIX: Update activation email route was returning a generic json error.
This commit is contained in:
@ -749,7 +749,7 @@ class UsersController < ApplicationController
|
||||
enqueue_activation_email
|
||||
render json: success_json
|
||||
else
|
||||
render_json_error(@user)
|
||||
render_json_error(primary_email)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user