Переглянути джерело

make sure to correct URIs

George Baugh 2 роки тому
батько
коміт
f29632dce7
1 змінених файлів з 1 додано та 0 видалено
  1. 1 0
      bin/tcms-useradd

+ 1 - 0
bin/tcms-useradd

@@ -88,6 +88,7 @@ sub main {
     my %merged = (
         %$user_obj,
         %options,
+        $options{display_name} ? ( local_href => "/users/$options{display_name}" ) : ( local_href => $user_obj->{local_href} ),
     );
     # We don't want the password in plain text
     delete $merged{password};