Fixed #366: Changed how GreenLight handles LDAP jpegPhoto (GRN-92) (#445)

* Fixed issue with LDAP jpegPhoto

* Update _header.html.erb
This commit is contained in:
farhatahmad
2019-04-11 11:53:32 -04:00
committed by Jesus Federico
parent 822dd27509
commit d39a11059e
4 changed files with 31 additions and 3 deletions

View File

@ -40,7 +40,7 @@ describe User, type: :model do
it { should allow_value("valid.jpg").for(:image) }
it { should allow_value("valid.png").for(:image) }
it { should_not allow_value("invalid.txt").for(:image) }
it { should allow_value("random_file.txt").for(:image) }
it { should allow_value("", nil).for(:image) }
it "should convert email to downcase on save" do