fix issue in username to string format
tronnet/workflows: Static Analysis -- Golang / static-go (push) Successful in 42s
tronnet/workflows: Static Analysis -- Golang / static-go (push) Successful in 42s
This commit is contained in:
+1
-1
@@ -14,7 +14,7 @@ func (g Groupname) ToString() string {
|
|||||||
// Converts input username object to string representation.
|
// Converts input username object to string representation.
|
||||||
// Uses the format uid@realm.
|
// Uses the format uid@realm.
|
||||||
func (u Username) ToString() string {
|
func (u Username) ToString() string {
|
||||||
return fmt.Sprintf("%s-%s", u.UserID, u.Realm)
|
return fmt.Sprintf("%s@%s", u.UserID, u.Realm)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Parses input groupname string to gid and realm.
|
// Parses input groupname string to gid and realm.
|
||||||
|
|||||||
Reference in New Issue
Block a user