Skip to content

Commit

Permalink
Version update (0.6.2)
Browse files Browse the repository at this point in the history
  • Loading branch information
DerpgonCz committed Apr 23, 2016
1 parent eb40dd2 commit 1368229
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mqp-server",
"version": "0.6.1",
"version": "0.6.2",
"description": "musiqpad self-hosted server",
"main": "server-package.js",
"author": "musiqpad Team <[email protected]>",
Expand Down
2 changes: 2 additions & 0 deletions serverconfig.example.js
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,7 @@ config.roles = {
'djqueue.joinlocked',
'djqueue.leave',
'chat.send',
'chat.private',
'djqueue.skip.self',
'playlist.create',
'playlist.delete',
Expand All @@ -383,6 +384,7 @@ config.roles = {
'djqueue.join',
'djqueue.leave',
'chat.send',
'chat.private',
'djqueue.skip.self',
'playlist.create',
'playlist.delete',
Expand Down
4 changes: 2 additions & 2 deletions webserver/public/lib/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -4743,8 +4743,8 @@
var mentionSound = new Audio('../pads/lib/sound/mention.wav');

var onLogin = function(err, data, callback){ // There's probably a better place for this...
if (data.error){
alert('There was an error signing up or logging in: ' + data.error);
if (err){
alert('There was an error signing up or logging in: ' + err);
MP.cookie.setCookie(MP.getTokenName(), '', -1);
if (callback) callback(err);
return;
Expand Down

0 comments on commit 1368229

Please sign in to comment.