File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import { default as BsForm } from 'react-bootstrap/Form'
3
3
import Form from '@rjsf/core'
4
4
import validator from '@rjsf/validator-ajv8'
5
5
import { useRouter } from 'next/router'
6
+ import { signIn } from 'next-auth/react'
6
7
import {
7
8
AdditionalInfo ,
8
9
BlankRequestForm ,
@@ -266,7 +267,8 @@ const SignInRequired = () => (
266
267
< Notice
267
268
addClass = 'mt-5'
268
269
alert = { {
269
- body : [ 'To proceed with making a request, please log in to your account.' ] ,
270
+ body : [ < p key = 'signin-link' > To proceed with making a request, < a href = '#' onClick = { ( ) => signIn
271
+ ( process . env . NEXT_PUBLIC_PROVIDER_NAME ) } > please log in</ a > to your account.</ p > ] ,
270
272
title : 'Sign in required' ,
271
273
variant : 'info'
272
274
} }
You can’t perform that action at this time.
0 commit comments