Bug 28493: Make koha-passwd display the username
authorMason James <mtj@kohaaloha.com>
Wed, 21 Sep 2022 11:38:59 +0000 (23:38 +1200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 19 Jul 2023 16:00:41 +0000 (13:00 -0300)
commit4ce7f8c49378c0e32212493779b07e3ab369dee7
tree12c41b0463f85d057d6a113f2e2daffa3f4213d0
parent1763b136d1dcd3348ee26bca8663823b5a05f07c
Bug 28493: Make koha-passwd display the username

to test...

1/ run command
 $ sudo koha-passwd dev1
 Password for dev1: CraZyPa$$WoRD!!
 Press enter to clear the screen...
 ^C

2/ apply patch

3/ run command again, note 'username' section
 $ sudo koha-passwd dev1
 Username for dev1: koha_dev1  <<<<<<<<<<<<
 Password for dev1: CraZyPa$$WoRD!!
 Press enter to clear the screen...
 ^C

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
debian/scripts/koha-passwd