Reto
d7bba325a7
Fix user file permissions on create ( #4507 )
...
User files contain secrets and should be protected.
Chances are that the user folder can be protected as well,
so let's do that if TL is creating the folder.
2022-04-11 17:47:22 -07:00
Taavi Väänänen
e790a72e59
Make `add` and `reset` CLI commands scriptable
...
Add CLI options `--password` and `--save-logs` (for `add` only) in
order to make adding users and changing user passwords scriptable.
Closes #3913
2020-10-07 09:00:00 +03:00
Pavel Djundik
881b3eda19
Run format after updating to prettier 2.0
2020-03-21 22:55:36 +02:00
Pavel Djundik
c1920eb566
When updating user file, write to temp file first
2019-12-18 10:47:07 +02:00
Alistair McKinlay
133e7bf710
Format js/vue with prettier
2019-07-19 11:27:40 +01:00
Pavel Djundik
472d618033
Remove `log` from `global`
2018-06-15 23:31:06 +03:00
Pavel Djundik
fee81e78e1
Replace colors.js with chalk
2018-03-02 20:28:54 +02:00
Pavel Djundik
c733e72e7a
Auto-fix code for padding-line-between-statements rule
2018-02-20 09:28:04 +02:00
Pavel Djundik
a3e448acf5
Enable no-var rule
...
Fixes #1961
2018-02-19 19:49:39 +02:00
Jérémie Astori
416f45d1e3
Use some ES6/Node v4-only syntax when possible
2018-02-19 18:30:00 +02:00
Jérémie Astori
c21aee3d4a
Do not load user commands or display them on `--help` if public mode or using LDAP
2017-12-09 01:51:08 -05:00
Jérémie Astori
c038935b96
Move user commands to their own subfolder
2017-12-09 01:38:52 -05:00