mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-12 22:26:08 -04:00
Fixed typo: anonmyous
This commit is contained in:
parent
11d6b24561
commit
fdea226159
6 changed files with 13 additions and 13 deletions
|
@ -60,7 +60,7 @@ function showIndex(req, res, next) {
|
|||
res.render(config.indexpath, {
|
||||
url: config.serverurl,
|
||||
useCDN: config.usecdn,
|
||||
allowAnonmyous: config.allowanonmyous,
|
||||
allowAnonymous: config.allowanonymous,
|
||||
facebook: config.facebook,
|
||||
twitter: config.twitter,
|
||||
github: config.github,
|
||||
|
@ -93,7 +93,7 @@ function responseHackMD(res, note) {
|
|||
url: config.serverurl,
|
||||
title: title,
|
||||
useCDN: config.usecdn,
|
||||
allowAnonmyous: config.allowanonmyous,
|
||||
allowAnonymous: config.allowanonymous,
|
||||
facebook: config.facebook,
|
||||
twitter: config.twitter,
|
||||
github: config.github,
|
||||
|
@ -108,7 +108,7 @@ function newNote(req, res, next) {
|
|||
var owner = null;
|
||||
if (req.isAuthenticated()) {
|
||||
owner = req.user.id;
|
||||
} else if (!config.allowanonmyous) {
|
||||
} else if (!config.allowanonymous) {
|
||||
return response.errorForbidden(res);
|
||||
}
|
||||
models.Note.create({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue