mirror of
				https://github.com/KevinMidboe/zoff.git
				synced 2025-10-29 18:00:23 +00:00 
			
		
		
		
	Fixed issue with login-in
This commit is contained in:
		| @@ -42,7 +42,7 @@ function password(inp, coll, guid, offline, socket) { | ||||
|                     { | ||||
|                         Functions.setSessionAdminPass(sessionId, inp.password, coll, function() { | ||||
|                             db.collection(coll + "_settings").update({ id: "config" }, {$set:{adminpass:Functions.hash_pass(pw)}}, function(err, docs){ | ||||
|                                 if(adminpass != pw) { | ||||
|                                 if(adminpass != pw && adminpass != "") { | ||||
|                                     socket.emit("toast", "changedpass"); | ||||
|                                 } else { | ||||
|                                     socket.emit("toast", "correctpass"); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user