Skip to content

Commit

Permalink
disabled user registration
Browse files Browse the repository at this point in the history
  • Loading branch information
cscognamiglio committed Dec 19, 2023
1 parent 84abd19 commit 61b8c90
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 15 deletions.
2 changes: 1 addition & 1 deletion src/components/Navbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<ul class="uk-navbar-nav uk-visible@m"></ul>

<ul v-if="!loggedIn" class="uk-navbar-nav uk-visible@m">
<li><a href="/#/register">Register</a></li>
<!-- <li><a href="/#/register">Register</a></li>-->
<li><a href="/#/login">Login</a></li>
</ul>
<ul v-else class="uk-navbar-nav uk-visible@m">
Expand Down
10 changes: 5 additions & 5 deletions src/router/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ const routes = [
name: 'Login',
component: Login,
},
{
path: '/register',
name: 'Register',
component: Register,
},
// {
// path: '/register',
// name: 'Register',
// component: Register,
// },
{
path: '/measurements/exhaustive',
name: 'MeasurementsExhaustive',
Expand Down
21 changes: 12 additions & 9 deletions src/views/Index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@
</ul>
</p>

<router-link
v-if="!loggedIn"
class="uk-button uk-button-primary"
:to="{
name: 'Register',
}"
><span uk-icon="icon: sign-in"></span> Register</router-link
>
<!-- <router-link-->
<!-- v-if="!loggedIn"-->
<!-- class="uk-button uk-button-primary"-->
<!-- :to="{-->
<!-- name: 'Register',-->
<!-- }"-->
<!-- ><span uk-icon="icon: sign-in"></span> Register</router-link-->
<!-- >-->
<router-link
v-else-if="loggedIn && !verified"
class="uk-button uk-button-primary"
Expand Down Expand Up @@ -93,7 +93,10 @@
You can check the live status of the platform
<a href="https://dioptra-io.github.io/iris-uptime/">here</a>.
</p>
<p></p>
<p>
Iris has been in constant evolution, and at the moment we are not accepting new user registrations.
Please feel free to contact us if you have any questions about the platform.
</p>
<a
v-if="!loggedIn || (loggedIn && !probingEnabled)"
class="uk-button uk-button-primary"
Expand Down

0 comments on commit 61b8c90

Please sign in to comment.