diff options
author | Erik Michelson | 2021-02-02 00:38:54 +0100 |
---|---|---|
committer | Erik Michelson | 2021-02-02 00:38:54 +0100 |
commit | 3808c08c2db3641b0928f6dc743feb3a31bcbf43 (patch) | |
tree | a0962741d5dc1638d96b65a07c51af05106eabef /lib/web/auth/utils.js | |
parent | 78a732abe691b496fa3692aa2add37f7344db1fa (diff) |
Fix note creation in FreeURL mode not using template
As explained in #391, the previous note creation logic didn't handle the case "alias is set, but it's not a file on disk". The fix introduces a separate if-statement for this scenario at the cost of a doubled filesystem read access.
Co-Authored-By: @evanlinde
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions