mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
Merge branch 'dev_trustie' into dev_devops
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
class OauthEducoderForm
|
||||
include ActiveModel::Model
|
||||
|
||||
attr_accessor :login, :token, :mail, :callback_url
|
||||
attr_accessor :login, :token, :callback_url
|
||||
|
||||
validates :login, presence: true
|
||||
validates :token, presence: true
|
||||
validates :mail, presence: true
|
||||
validates :callback_url, presence: true
|
||||
|
||||
validate :check_callback_url!
|
||||
|
||||
Reference in New Issue
Block a user