Yuki Takei 8 years ago
parent
commit
1362ca7583
1 changed files with 2 additions and 2 deletions
  1. 2 2
      lib/models/external-account.js

+ 2 - 2
lib/models/external-account.js

@@ -89,11 +89,11 @@ class ExternalAccount {
             // when the User that have the same `username` exists
             // when the User that have the same `username` exists
             if (user != null) {
             if (user != null) {
               if (isTreatUsernameMatchingAsIdentical) {
               if (isTreatUsernameMatchingAsIdentical) {
-                debug(`ExternalAccount '${accountId}' will be bind to an exisiting account`);
+                debug(`ExternalAccount '${accountId}' will be bound to an exisiting account`);
                 return user;
                 return user;
               }
               }
               else {
               else {
-                throw new DuplicatedUsernameException(`Userr '${usernameToBeRegistered}' has already been existed`);
+                throw new DuplicatedUsernameException(`User '${usernameToBeRegistered}' has already been existed`);
               }
               }
             }
             }