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

--wip-- [skip ci]

parent b083d5fe
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -31,3 +31,10 @@ def refresh():
    current_user = get_jwt_identity()
    new_access_token = create_access_token(identity=current_user)
    return jsonify(access_token=new_access_token)


#https://10.95.82.71:8085/auth/me
@access_routes.route('/auth/me', methods=['POST, GET, PUT, DELETE, PATCH'])
#@jwt_refresh_token_required
def authme():
    return jsonify(a=1)