fixed 增加自动登录,gitea注册

This commit is contained in:
xiaoxiaoqiong
2022-05-24 14:33:23 +08:00
parent 85a36ca2e7
commit ebe5fad7dd

View File

@@ -13,7 +13,7 @@ module Gitea
end
def success?
@error.nil?
@error.nil? && @result[:status].to_s == "success"
end
def result