mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 11:05:54 +01:00 
			
		
		
		
	added login message + ajaxify.go to homepage (should add redirect code to originating page later)
This commit is contained in:
		| @@ -32,6 +32,14 @@ var	config = require('../config.js'), | ||||
| 					}); | ||||
|  | ||||
| 					global.uid = uid; | ||||
|  | ||||
| 					global.socket.emit('event:alert', { | ||||
| 						title: 'Welcome ' + user.username, | ||||
| 						message: 'You have successfully logged in.', | ||||
| 						type: 'notify', | ||||
| 						timeout: 2000 | ||||
| 					}); | ||||
|  | ||||
| 					return global.socket.emit('user.login', {'status': 1, 'message': 'Logged in!'}); | ||||
| 				} | ||||
| 			}); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user