Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for LDAP server authentication #279

Merged
merged 10 commits into from
Jan 8, 2017
5 changes: 4 additions & 1 deletion lib/letter-avatars.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ var randomcolor = require('randomcolor');

// core
module.exports = function(name) {
var color = randomcolor({seed: name});
var color = randomcolor({
seed: name,
luminosity: 'dark',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove the redundant comma after the last option.

});
var letter = name.substring(0, 1).toUpperCase();

var svg = '<?xml version="1.0" encoding="UTF-8" standalone="no"?>';
Expand Down