Compare commits
1 commit
main
...
fix/use_mo
Author | SHA1 | Date | |
---|---|---|---|
09dd88783e |
2 changed files with 1 additions and 3 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
1.3.1
|
||||
1.3.0
|
||||
|
|
|
@ -147,12 +147,10 @@ func (h *CreateNoteWithFormHandler) ServeHTTP(w http.ResponseWriter, r *http.Req
|
|||
|
||||
if !h.PageData.AllowNoEncryption && noEncryption != "" {
|
||||
h.WebError(w, logger, ErrEncryptionRequired, nil)
|
||||
return
|
||||
}
|
||||
|
||||
if !h.PageData.AllowClientEncryptionKey && encryptionKey != "" {
|
||||
h.WebError(w, logger, ErrClientEncryptionKeyNotAllowed, nil)
|
||||
return
|
||||
}
|
||||
|
||||
if !h.PageData.AllowClientEncryptionKey && encryptionKey == "" && noEncryption == "" {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue