forked from mrlan/EnglishPal
Remove unused code.
parent
e73c66edd3
commit
4513a80bdd
|
@ -22,20 +22,6 @@ path_prefix = '/var/www/wordfreq/wordfreq/'
|
|||
path_prefix = './' # comment this line in deployment
|
||||
|
||||
|
||||
|
||||
#@userService.route("/<username>/reset", methods=['GET', 'POST'])
|
||||
#def user_reset(username):
|
||||
#'''
|
||||
#用户界面
|
||||
#:param username: 用户名
|
||||
#:return: 返回页面内容
|
||||
#'''
|
||||
# if request.method == 'GET':
|
||||
# session['articleID'] = None
|
||||
# return redirect(url_for('user_bp.userpage', username=username))
|
||||
# else:
|
||||
# return 'Under construction'
|
||||
|
||||
@userService.route("/<username>/reset", methods=['GET', 'POST'])
|
||||
def user_reset(username):
|
||||
'''
|
||||
|
|
Loading…
Reference in New Issue