Ldap user can now sign in with username alone.
Add ldapDomain config variable.
Add ldapUsername in user model.
The ldap user's email is determined as follows: ldapUsername + @ + ldapDomain
Coverage decreased (-0.2%) to 70.081% when pulling 3dde53176389df9dbdaa0ea628d46bb1ebb0ed35 on Leblantoine:ad-login into f18e93c81f09282ecd8dbb6499362e504864ae87 on Nanocloud:master.
Coverage decreased (-0.2%) to 70.081% when pulling 218af4166b80746be4416f559177c896028900da on Leblantoine:ad-login into f18e93c81f09282ecd8dbb6499362e504864ae87 on Nanocloud:master.
Coverage decreased (-0.2%) to 70.081% when pulling a28e49f667cb11785ffb3278d4f67156be836d28 on Leblantoine:ad-login into f18e93c81f09282ecd8dbb6499362e504864ae87 on Nanocloud:master.
Fixes #477
Ldap user can now sign in with username alone. Add
ldapDomain
config variable. AddldapUsername
in user model. The ldap user's email is determined as follows:ldapUsername
+ @ +ldapDomain