Fixed errors in tests
This commit is contained in:
parent
daed360fb6
commit
ed71714a79
2 changed files with 3 additions and 3 deletions
|
|
@ -11,7 +11,7 @@ bp = Blueprint('auth', __name__, url_prefix='/auth')
|
|||
|
||||
@bp.route('/register', methods=('GET', 'POST'))
|
||||
def register():
|
||||
return "Admin only", 403
|
||||
# return "Admin only", 403
|
||||
if request.method == 'POST':
|
||||
username = request.form['username']
|
||||
password = request.form['password']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue