diff --git a/etc/ctrl.yml b/etc/ctrl.yml index f1aa058f..0bcf4250 100644 --- a/etc/ctrl.yml +++ b/etc/ctrl.yml @@ -11,14 +11,17 @@ # v: 2 -# The `admin/secrets` array contains a list of strings that represent valid `ZROK_ADMIN_TOKEN` values to be used for -# administration of the `zrok` controller. -# -# Change this for your installation. -# admin: + # The `secrets` array contains a list of strings that represent valid `ZROK_ADMIN_TOKEN` values to be used for + # administration of the `zrok` controller. + # + # Change this for your installation. + # secrets: - 77623cad-1847-4d6d-8ffe-37defc33c909 + # if `tou_link` is present, the frontend will display the "Terms of Use" link on the login and registration forms + # + tou_link: 'Terms and Conditions' # The `endpoint` section determines where the HTTP listener that serves the API and web console will be bound. # diff --git a/ui/src/console/login/Login.js b/ui/src/console/login/Login.js index 5ace21dd..3c380899 100644 --- a/ui/src/console/login/Login.js +++ b/ui/src/console/login/Login.js @@ -17,7 +17,7 @@ const Login = (props) => { console.log(resp) if(!resp.error) { if (resp.data.touLink !== null && resp.data.touLink.trim() !== "") { - setTou(