Этот коммит содержится в:
Ben Schumacher
2019-10-29 07:45:09 +01:00
коммит произвёл GitHub
родитель d7649fbf31
Коммит 7a665aacdd
16 изменённых файлов: 33 добавлений и 47 удалений

Просмотреть файл

@@ -633,7 +633,7 @@ func (a *App) OriginChecker() func(*http.Request) bool {
func (s *Server) checkPushNotificationServerUrl() {
notificationServer := *s.Config().EmailSettings.PushNotificationServer
if strings.HasPrefix(notificationServer, "http://") == true {
if strings.HasPrefix(notificationServer, "http://") {
mlog.Warn("Your push notification server is configured with HTTP. For improved security, update to HTTPS in your configuration.")
}
}