fixed 注册error message

This commit is contained in:
xxqfamous 2023-06-05 14:47:14 +08:00
parent 6d8956e803
commit f7162abe0d
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ class Gitea::User::RegisterService < Gitea::ClientService
case status
when 201 then success(body)
else
error(message, status)
error(message || body["message"], status)
end
end