[website] [fix] signup permissions
diff --git a/website/helpers/contact.py b/website/helpers/contact.py
index 251e1f6..bf1521e 100644
--- a/website/helpers/contact.py
+++ b/website/helpers/contact.py
@@ -18,6 +18,7 @@
 
 import webnotes
 from core.doctype.communication.communication import make
+from webnotes.utils import now
 
 max_communications_per_hour = 300
 
@@ -38,7 +39,7 @@
 	
 	# guest method, cap max writes per hour
 	if webnotes.conn.sql("""select count(*) from `tabCommunication`
-		where TIMEDIFF(NOW(), modified) < '01:00:00'""")[0][0] > max_communications_per_hour:
+		where TIMEDIFF(%s, modified) < '01:00:00'""", now())[0][0] > max_communications_per_hour:
 		webnotes.response["message"] = "Sorry: we believe we have received an unreasonably high number of requests of this kind. Please try later"
 		return