mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-03 12:40:00 +00:00
make default profile name more descriptive (ref dca958f2e2)
This commit is contained in:
parent
5f5fa5c2eb
commit
0b8def555b
1 changed files with 1 additions and 1 deletions
|
|
@ -118,7 +118,7 @@ function _setProfileName (user) {
|
|||
|
||||
let localUsername = user.auth.local && user.auth.local.username;
|
||||
let googleUsername = google && google.displayName;
|
||||
let anonymous = 'Anonymous';
|
||||
let anonymous = 'profile name not found';
|
||||
|
||||
return localUsername || _getFacebookName(user.auth.facebook) || googleUsername || anonymous;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue