瀏覽代碼

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};