1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/humhub_ynh.git synced 2024-09-03 19:26:11 +02:00

Define minimum username length to 1 char

To allow for all LDAP users

Fixes #20

Signed-off-by: Nils VAN ZUIJLEN <nils.van-zuijlen@mailo.com>
This commit is contained in:
Nils VAN ZUIJLEN 2021-05-25 15:53:10 +02:00
parent ac574d3c72
commit d76fc7b583
No known key found for this signature in database
GPG key ID: 7BE7AF8A0F5942E9
3 changed files with 9 additions and 4 deletions

View file

@ -12,7 +12,7 @@
setup_private=1 setup_private=1
setup_public=1 setup_public=1
upgrade=1 upgrade=1
upgrade=1 from_commit=6b47f5e5d81ac3239709d581b25a2fa331226843 upgrade=1 from_commit=83500d6e866539d56a0aed6f288a8a8ce02a674b
backup_restore=1 backup_restore=1
multi_instance=1 multi_instance=1
port_already_use=0 port_already_use=0
@ -21,7 +21,7 @@
Email= Email=
Notification=none Notification=none
;;; Upgrade options ;;; Upgrade options
; commit=6b47f5e5d81ac3239709d581b25a2fa331226843 ; commit=83500d6e866539d56a0aed6f288a8a8ce02a674b
name=Name and date of the commit. name=Name and date of the commit.
manifest_arg=domain=DOMAIN&path=PATH&admin=USER&is_public=1& manifest_arg=domain=DOMAIN&path=PATH&admin=USER&is_public=1&

View file

@ -2,10 +2,15 @@
return [ return [
'components' => [ 'components' => [
'db' => [ 'db' => [
'dsn' => 'mysql:host=localhost;dbname=__DB_NAME__', 'dsn' => 'mysql:host=localhost;dbname=__DB_NAME__',
'username' => '__DB_USER__', 'username' => '__DB_USER__',
'password' => '__DB_PWD__', 'password' => '__DB_PWD__',
], ],
],
'modules' => [
'user' => [
'minimumUsernameLength' => 1
]
] ]
]; ];

View file

@ -12,7 +12,7 @@
"name": "Nils Van Zuijlen", "name": "Nils Van Zuijlen",
"url": "https://github.com/nils-van-zuijlen" "url": "https://github.com/nils-van-zuijlen"
}, },
"version": "1.8.2~ynh1", "version": "1.8.2~ynh2",
"requirements": { "requirements": {
"yunohost": ">= 4.1.7" "yunohost": ">= 4.1.7"
}, },