Commit a7fe30d0 authored by Dietmar Maurer's avatar Dietmar Maurer

correctly render user name

parent 6d961322
......@@ -165,7 +165,7 @@ Ext.define('PVE.dc.UserView', {
};
var render_username = function(userid) {
return userid.match(/^([^@]+)/)[1];
return userid.match(/^(.+)(@[^@]+)$/)[1];
};
var render_realm = function(userid) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment