Explorar o código

make sure to correct URIs

George Baugh %!s(int64=2) %!d(string=hai) anos
pai
achega
f29632dce7
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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};