We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1cb9a21 + be04187 commit 7ad78bcCopy full SHA for 7ad78bc
nickname.py
@@ -32,6 +32,12 @@ def RecommendNickname():
32
if request.method == "POST":
33
target = request.form['target']
34
nick = request.form['nick']
35
+ """Issue #71, 별명의 길이가 0일 경우 에러페이지로 이동."""
36
+ if not len(nick):
37
+ return render_template(
38
+ "_error.html",
39
+ _error__msg='별명이 없습니다.',
40
+ ), 400
41
if not check_username(target, is_internal=True):
42
return render_template(
43
"_error.html",
0 commit comments