Skip to content

Commit

Permalink
remove sign-up button for extauth also on the RequireAuthentication card
Browse files Browse the repository at this point in the history
  • Loading branch information
Ithanil committed Nov 2, 2023
1 parent 838db5b commit b1646db
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ export default function RequireAuthentication({ path }) {
env?.EXTERNAL_AUTH ? (
<Form action={process.env.OMNIAUTH_PATH} method="POST" data-turbo="false">
<input type="hidden" name="authenticity_token" value={document.querySelector('meta[name="csrf-token"]').content} />
<Button variant="brand-outline-color" className="btn btn-lg m-2" type="submit">{t('authentication.sign_up')}</Button>
<Button variant="brand" className="btn btn-lg m-2" type="submit">{t('authentication.sign_in')}</Button>
</Form>
) : (
Expand Down

0 comments on commit b1646db

Please sign in to comment.