Este site funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Cadastrar
Acessar
gitlord
/
isleward
espelhamento de
https://gitlab.com/Isleward/isleward.git
Observar
1
Favorito
0
Fork
0
Código
Issues
0
Versões
203
Wiki
Atividade
Ver código fonte
Merge branch 'issue-43' into 'staging'
Issue 43 See merge request
!24
tags/v0.1.2
Big Bad Waffle
7 anos atrás
pai
f3fec52d7e
329b03b393
commit
5a8b067d3b
2 arquivos alterados
com
9 adições
e
1 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+5
-0
src/server/components/auth.js
+4
-1
src/server/misc/messages.js
+ 5
- 0
src/server/components/auth.js
Ver arquivo
@@ -282,6 +282,11 @@ define([
createCharacter: function(msg) {
var data = msg.data;
if ((data.name.length < 3) || (data.name.length > 12)) {
msg.callback(messages.createCharacter.nameLength);
return;
}
io.get({
ent: data.name,
field: 'character',
+ 4
- 1
src/server/misc/messages.js
Ver arquivo
@@ -10,6 +10,9 @@ define([
illegal: 'illegal characters in username/password',
incorrect: 'invalid username and password',
charExists: 'character name is taken'
}
},
createCharacter: {
nameLength: 'name must be between 3 and 12 characters'
}
};
});
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar