Skip to content

Commit 2c14efa

Browse files
author
elnzv
committed
rewriting original error message if github email isn't public
1 parent badbdb5 commit 2c14efa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

server/accounts.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ Accounts.onCreateUser(function(options, user) {
99
verified: false
1010
}
1111
];
12+
// rewriting original error message if github email isn't public
13+
throw new Meteor.Error(500, 'Please, make your github email public in order to login.');
1214
} else {
1315
user.emails = [
1416
{

0 commit comments

Comments
 (0)