Este sítio funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Inscrição
Iniciar sessão
gitlord
/
isleward
espelho de
https://gitlab.com/Isleward/isleward.git
Vigiar
1
Marcar como favorito
0
Derivar
0
Código
Questões
0
Lançamentos
203
Wiki
Trabalho
Ver a proveniência
Merge branch 'issue-43' into 'staging'
Issue 43 See merge request
!24
tags/v0.1.2
Big Bad Waffle
há 7 anos
ascendente
f3fec52d7e
329b03b393
cometimento
5a8b067d3b
2 ficheiros alterados
com
9 adições
e
1 eliminações
Visualização em 2 colunas
Opções das diferenças
Mostrar estatísticas
Descarregar ficheiro patch
Descarregar ficheiro diff
+5
-0
src/server/components/auth.js
+4
-1
src/server/misc/messages.js
+ 5
- 0
src/server/components/auth.js
Ver ficheiro
@@ -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 ficheiro
@@ -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é-visualizar
Carregando…
Cancelar
Guardar