diff options
Diffstat (limited to '')
-rw-r--r-- | sca-cpp/trunk/modules/edit/user.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sca-cpp/trunk/modules/edit/user.py b/sca-cpp/trunk/modules/edit/user.py index 2eb65a8ea4..227722ac48 100644 --- a/sca-cpp/trunk/modules/edit/user.py +++ b/sca-cpp/trunk/modules/edit/user.py @@ -23,5 +23,6 @@ def id(user, email, nick, full, first, last, realm): return email.eval() if nick.eval() != '?': return nick.eval() + '@' + realm.eval() - return user.eval() + '@' + realm.eval() - + if user.eval() != '?': + return user.eval() + '@' + realm.eval() + return 'joe@localhost' |