Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- socket.on('set username', function (val) {
- sess.reload(function () {
- sess.username = val;
- sess.touch().save();
- });
- });
- socket.on('set password', function (val) {
- sess.reload(function () {
- sess.password = val;
- sess.touch().save();
- });
- });
Add Comment
Please, Sign In to add comment