更新ios
This commit is contained in:
4
app.py
4
app.py
@@ -4590,8 +4590,8 @@ def generate_verification_code():
|
|||||||
|
|
||||||
|
|
||||||
@app.route('/api/auth/login', methods=['POST'])
|
@app.route('/api/auth/login', methods=['POST'])
|
||||||
def login():
|
def login_with_password():
|
||||||
"""传统登录 - 使用Session"""
|
"""传统登录 - 使用密码登录"""
|
||||||
try:
|
try:
|
||||||
|
|
||||||
username = request.form.get('username')
|
username = request.form.get('username')
|
||||||
|
|||||||
Reference in New Issue
Block a user