mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-24 13:45:44 +08:00
[FIX]组织上传头像支持多种格式、项目详情返回拥有者类型
[FIX] [FIX]
This commit is contained in:
@@ -167,7 +167,7 @@ class User < Owner
|
||||
where("LOWER(concat(lastname, firstname, login, mail)) LIKE ?", "%#{keywords.split(" ").join('|')}%") unless keywords.blank?
|
||||
}
|
||||
|
||||
scope :simple_select, -> {select(:id, :login, :lastname,:firstname, :nickname, :gitea_uid)}
|
||||
scope :simple_select, -> {select(:id, :login, :lastname,:firstname, :nickname, :gitea_uid, :type)}
|
||||
|
||||
attr_accessor :password, :password_confirmation
|
||||
|
||||
|
||||
Reference in New Issue
Block a user