Since the userid is unique, if enable dave updates it, the warning should be easier to understand.
Or, for the prototype, we can set the username as persistent.
This waring is due to dave2 does exist .
Solution
Solution 1
set the username as fixed, dave can not update it
Solution
When Dave try to set an exist username, notice him with '该用户名已经存在。'
Description
Since the userid is unique, if enable dave updates it, the warning should be easier to understand. Or, for the prototype, we can set the username as persistent.
This waring is due to dave2 does exist .
Solution
Solution 1
set the username as fixed, dave can not update it
Solution
When Dave try to set an exist username, notice him with '该用户名已经存在。'