-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
506e1bd
commit 264d177
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -562,7 +562,7 @@ def handle_set_my_email(self, message: Message): | |
self.speak_dialog("email_set_error", private=True) | ||
email_addr = self.get_gui_input(self.translate("word_email_title"), | ||
"[email protected]") | ||
if not validate_email(email_addr): | ||
if not email_addr or not validate_email(email_addr): | ||
LOG.warning(f"Invalid email_addr entered: {email_addr}") | ||
return | ||
|
||
|