diff --git a/app/controllers/accounts_controller.rb b/app/controllers/accounts_controller.rb index 8df358cf7..6ac62f887 100644 --- a/app/controllers/accounts_controller.rb +++ b/app/controllers/accounts_controller.rb @@ -57,6 +57,7 @@ class AccountsController < ApplicationController ) successful_authentication(@user) session[:user_id] = @user.id + normal_status("注册成功") end rescue Exception => e uid_logger_error(e.message) diff --git a/app/views/accounts/register.json.jbuilder b/app/views/accounts/register.json.jbuilder deleted file mode 100644 index 9a3dba175..000000000 --- a/app/views/accounts/register.json.jbuilder +++ /dev/null @@ -1 +0,0 @@ -json.redirect_uri subjects_url \ No newline at end of file