mirror of
https://github.com/YunoHost-Apps/movim_ynh.git
synced 2024-09-03 19:46:19 +02:00
password generation no special car
This commit is contained in:
parent
a90f243a64
commit
64be974a0c
3 changed files with 3 additions and 1 deletions
|
@ -12,6 +12,7 @@ Current Movim version : 20150820.
|
|||
0.8b ?
|
||||
- Added to language selection : ar, de, es, it, ja, nl, ru
|
||||
- Fix URL in manifest.json (was https://https://...)
|
||||
- Modified mysql password generation (no special car)
|
||||
|
||||
0.7b 2015-08-20
|
||||
- Update to upstream Movim 20150820 to fix #5
|
||||
|
|
1
TODO
1
TODO
|
@ -0,0 +1 @@
|
|||
- Allow access to blog when private installation selected
|
|
@ -38,7 +38,7 @@ sudo yunohost app setting movim public_site -v $public_site
|
|||
sudo yunohost app setting movim port -v $port
|
||||
|
||||
# Generate random password
|
||||
db_pwd=$(dd if=/dev/urandom bs=1 count=200 2> /dev/null | tr -c -d '[A-Za-z0-9]' | sed -n 's/\(.\{24\}\).*/\1/p')
|
||||
db_pwd=$(strings /dev/urandom | grep -o '[[:alnum:]]' | head -n 24 | tr -d '\n'; echo)
|
||||
|
||||
# Use 'movim' as database name and user
|
||||
db_user=movim
|
||||
|
|
Loading…
Reference in a new issue