From 5c7eb483198d0d92dc88c7a7c25cca5c23eb5cf2 Mon Sep 17 00:00:00 2001
From: Wu Cheng-Han
Date: Thu, 15 Dec 2016 14:07:12 +0800
Subject: Add support of allow anonymous config option with correspond
modifications
---
public/views/index.ejs | 4 ++++
1 file changed, 4 insertions(+)
(limited to 'public/views/index.ejs')
diff --git a/public/views/index.ejs b/public/views/index.ejs
index 2bec7de0..8910d83d 100644
--- a/public/views/index.ejs
+++ b/public/views/index.ejs
@@ -62,13 +62,17 @@
<%= __('Sign In') %>
+ <% }%>
+ <% if((facebook || twitter || github || gitlab || dropbox || google || email) && allowAnonmyous) { %>
<%= __('or') %>
<% }%>
+ <% if(allowAnonmyous) { %>
<%= __('New guest note') %>
+ <% }%>