mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
parent
a47ca598e7
commit
afcb8aa49b
1 changed files with 1 additions and 1 deletions
|
@ -259,7 +259,7 @@ if (Meteor.isServer) {
|
||||||
throw new Meteor.Error('invalid-user');
|
throw new Meteor.Error('invalid-user');
|
||||||
}
|
}
|
||||||
const user = Meteor.user();
|
const user = Meteor.user();
|
||||||
if (!user.emails || !user.emails[0] || user.emails[0].address) {
|
if (!user.emails || !user.emails[0] || !user.emails[0].address) {
|
||||||
throw new Meteor.Error('email-invalid');
|
throw new Meteor.Error('email-invalid');
|
||||||
}
|
}
|
||||||
this.unblock();
|
this.unblock();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue