X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FHall.vue;h=c47e89f109d1a8c57044d9799cfdebe56dcbd44c;hp=ac2cb27e2ab8599a76d166d0fb01e3e885f8bcd4;hb=098cd7f19e9ac858df6d635e5f37d356c1d5b1fa;hpb=2c6cb25eb12074af1f0fb29383eef8a175abb0f0 diff --git a/client/src/views/Hall.vue b/client/src/views/Hall.vue index ac2cb27e..c47e89f1 100644 --- a/client/src/views/Hall.vue +++ b/client/src/views/Hall.vue @@ -398,6 +398,8 @@ export default { if (!!error) return alert(error); const ctype = this.classifyObject(this.newchallenge); + if (ctype == "corr" && this.st.user.id <= 0) + return alert("Please log in to play correspondance games"); // NOTE: "from" information is not required here let chall = Object.assign({}, this.newchallenge); const finishAddChallenge = (cid,warnDisconnected) => {