Skip to content

Commit

Permalink
feat: deactivate reset password on demo mode (#975)
Browse files Browse the repository at this point in the history
  • Loading branch information
djaiss committed Jun 5, 2021
1 parent 4b3e7b2 commit 5262667
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/js/Pages/Auth/Login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<template #footer>
<languages />

<inertia-link v-if="canResetPassword" :href="route('password.request')" class="f6">
<inertia-link v-if="canResetPassword && !$page.props.demo_mode" :href="route('password.request')" class="f6">
{{ $t('passwords.forgot_password_link') }}
</inertia-link>
<p v-if="$page.props.jetstream.enableSignups" class="f6">
Expand Down

0 comments on commit 5262667

Please sign in to comment.