forked from External/greenlight
		
	* Fixed issue with LDAP jpegPhoto * Update _header.html.erb
This commit is contained in:
		
				
					committed by
					
						
						Jesus Federico
					
				
			
			
				
	
			
			
			
						parent
						
							822dd27509
						
					
				
				
					commit
					d39a11059e
				
			@@ -33,7 +33,6 @@ class User < ApplicationRecord
 | 
			
		||||
 | 
			
		||||
  validates :name, length: { maximum: 256 }, presence: true
 | 
			
		||||
  validates :provider, presence: true
 | 
			
		||||
  validates :image, format: { with: /\.(png|jpg)\Z/i }, allow_blank: true
 | 
			
		||||
  validates :email, length: { maximum: 256 }, allow_blank: true,
 | 
			
		||||
                    uniqueness: { case_sensitive: false, scope: :provider },
 | 
			
		||||
                    format: { with: /\A[\w+\-.]+@[a-z\d\-.]+\.[a-z]+\z/i }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user