mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-28 07:58:40 +00:00
Fix Koko suggestions
This commit is contained in:
parent
3fb1441ac1
commit
40a4d5e239
10 changed files with 40 additions and 42 deletions
|
@ -64,8 +64,8 @@ public class UserSettingsPage : BaseLayout
|
|||
}
|
||||
}
|
||||
|
||||
if (ServerConfiguration.Instance.Mail.MailEnabled &&
|
||||
SMTPHelper.IsValidEmail(this.Database, email) &&
|
||||
if (ServerConfiguration.Instance.Mail.MailEnabled &&
|
||||
email != null && SMTPHelper.IsValidEmail(this.Database, email) &&
|
||||
(this.User == this.ProfileUser || this.User.IsAdmin))
|
||||
{
|
||||
if (this.ProfileUser.EmailAddress != email)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue