🐛 Fix web login error by the cors issue
This commit is contained in:
parent
8a2d94cedf
commit
e11bf204af
@ -153,7 +153,7 @@ class _SignInScreenState extends State<SignInScreen> {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
// Check ticket
|
// Check ticket
|
||||||
final resp = await client.patch('/auth', {
|
final resp = await client.request('/auth', 'PATCH', body: {
|
||||||
'ticket_id': _currentTicket!.id,
|
'ticket_id': _currentTicket!.id,
|
||||||
'factor_id': _factorPicked!,
|
'factor_id': _factorPicked!,
|
||||||
'code': password,
|
'code': password,
|
||||||
|
Loading…
Reference in New Issue
Block a user