mirror of
				https://github.com/KevinMidboe/zoff.git
				synced 2025-10-29 18:00:23 +00:00 
			
		
		
		
	Updating channel to fetch prettier
This commit is contained in:
		| @@ -167,6 +167,9 @@ function conf_function(params, coll, guid, offline, socket) { | ||||
|         } else { | ||||
|             hash = adminpass; | ||||
|         } | ||||
|         if(userpass != "") { | ||||
|             userpass = crypto.createHash('sha256').update(userpass).digest("base64"); | ||||
|         } | ||||
|         db.collection(coll + "_settings").find({id: "config"}, function(err, docs){ | ||||
|             if(docs !== null && docs.length !== 0 && (docs[0].adminpass === "" || docs[0].adminpass == hash)) { | ||||
|                 var obj = { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user