Merge branch 'develop' into hh_develop

This commit is contained in:
vilet.yy 2021-04-02 18:22:32 +08:00
commit 8c5a834b14
1 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,8 @@
class Users::UpdateInfoForm
include ActiveModel::Model
attr_accessor :email, :password
validates :email, presence: true, format: { with: CustomRegexp::EMAIL }
validates :password, presence: true
end