Skip to content
Snippets Groups Projects
Commit c9497b06 authored by Tomáš Hozman's avatar Tomáš Hozman
Browse files

updated version, fixed accidentally commented lines

parent 24b84612
Branches auth_res
No related tags found
No related merge requests found
Pipeline #9116 passed
......@@ -21,13 +21,13 @@ generator_blueprint = flask.Blueprint(
@generator_blueprint.route("/")
#@authentication.authenticate_via_jwt
@authentication.authenticate_via_jwt
def view() -> typing.Tuple[flask.Response, int]:
return flask.render_template("generator.html", ivan=False), http.client.OK
@generator_blueprint.route("/ivan")
#@authentication.authenticate_via_jwt
@authentication.authenticate_via_jwt
def view_with_ivan() -> typing.Tuple[flask.Response, int]:
return flask.render_template("generator.html", ivan=True), http.client.OK
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment