Fixed indentation and added unicode support
The avatar image move need to only be done if a previous username exists. Also we need `encodeURIComponent` to support names in unicode.
Please register or sign in to comment
The avatar image move need to only be done if a previous username exists. Also we need `encodeURIComponent` to support names in unicode.