mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-16 20:28:09 +01:00
Merge pull request #2453 from TracksApp/dependabot/bundler/aasm-5.1.1
Bump aasm from 4.12.3 to 5.1.1
This commit is contained in:
commit
0e5da18b71
17 changed files with 51 additions and 57 deletions
|
|
@ -105,7 +105,7 @@ class User < ApplicationRecord
|
|||
validates_presence_of :password_confirmation, if: :password_required?
|
||||
validates_confirmation_of :password
|
||||
validates_length_of :login, within: 3..80
|
||||
validates_uniqueness_of :login, on: :create
|
||||
validates_uniqueness_of :login, on: :create, :case_sensitive => false
|
||||
validate :validate_auth_type
|
||||
validates :email, :allow_blank => true, format: { with: URI::MailTo::EMAIL_REGEXP }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue