Update peertube-plugin-auth-ldap/main.js, peertube-plugin-auth-ldap/package-lock.json, peertube-plugin-auth-ldap/package.json, peertube-plugin-auth-ldap/README.md
This commit is contained in:
parent
225f2eedfa
commit
fb3226e552
@ -1,3 +1,4 @@
|
||||
# LDAP auth plugin for PeerTube
|
||||
|
||||
Add LDAP support to login form in PeerTube.
|
||||
Add LDAP support to login form in PeerTube.
|
||||
Uppercase letters in username convert to lowercase (KoryШ)
|
||||
|
@ -248,6 +248,7 @@ async function login (peertubeHelpers, settingsManager, options) {
|
||||
}
|
||||
|
||||
let username = user[usernameProperty] || ''
|
||||
username = username.toLowerCase()
|
||||
username = username.replace(/[^a-z0-9._]/g, '_')
|
||||
|
||||
let email = user[mailProperty]
|
||||
|
2
peertube-plugin-auth-ldap/package-lock.json
generated
2
peertube-plugin-auth-ldap/package-lock.json
generated
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "peertube-plugin-auth-ldap",
|
||||
"version": "0.0.11",
|
||||
"version": "0.0.12",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "peertube-plugin-auth-ldap",
|
||||
"version": "0.0.11",
|
||||
"version": "0.0.12",
|
||||
"description": "Add LDAP support to login form in PeerTube.",
|
||||
"engine": {
|
||||
"peertube": ">=2.2.0"
|
||||
|
Loading…
x
Reference in New Issue
Block a user