@@ -349,7 +349,7 @@ module.exports = function(crowi) {
return method != 'none';
};
- configSchema.statics.isGuesstAllowedToRead = function(config) {
+ configSchema.statics.isGuestAllowedToRead = function(config) {
// return true if puclic wiki mode
if (Config.isPublicWikiOnly(config)) {
return true;
@@ -223,7 +223,7 @@ exports.loginRequired = function(crowi, app, isStrictly = true) {
var Config = crowi.model('Config');
// when allowed to read
- if (Config.isGuesstAllowedToRead(config)) {
+ if (Config.isGuestAllowedToRead(config)) {
return next();
}