Commit e658e184 authored by Guillermo Sanz López's avatar Guillermo Sanz López
Browse files

remove requiere token

parent 3e6e476d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -25,6 +25,7 @@ def login():
    return jsonify(access_token=access_token, refresh_token=refresh_token)

@access_routes.route('/refresh', methods=['POST'])
#@jwt_refresh_token_required
def refresh():
    current_user = get_jwt_identity()
    new_access_token = create_access_token(identity=current_user)