mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 09:35:49 +02:00
Fixed code style.
This commit is contained in:
parent
2853e471c4
commit
d0b1024d80
212 changed files with 495 additions and 1005 deletions
|
@ -102,14 +102,14 @@ class SetPasswordCommand extends Command
|
|||
sprintf('You are going to change the password of %s with ID %d. Proceed?',
|
||||
$user->getFullName(true), $user->getID()));
|
||||
|
||||
if (! $proceed) {
|
||||
if (!$proceed) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
$success = false;
|
||||
$new_password = '';
|
||||
|
||||
while (! $success) {
|
||||
while (!$success) {
|
||||
$pw1 = $io->askHidden('Please enter new password:');
|
||||
$pw2 = $io->askHidden('Please confirm:');
|
||||
if ($pw1 !== $pw2) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue