Commit 1801be3
committed
Remove explicit consent check during Omniauth registration
This was added very recently to improve rendering of consent errors
in all registration flows. However, for the omniauth case it kicked
us out of the flow that would end up in `render_omniauth_registration_form`.
Thus a failed consent would switch from the omniauth registration form
(that has no password and auth provider inputs, but connects the resulting
user to their original auth provider) to the regular registration form.
By removing this check, confirming the consent during the registration form
is not required anymore. This is at least consistent with remaining omniauth
behaviour. Lacking a required field, the user would be created first and then
asked to confirm the consent in a separate step. This is what happens now as well.
Caveat: Even if the consent is confirmed during the registration form, the second
step will pop up anyways. This issue exists regardless of keeping or removing this
check and is one more thing we need to fix about omniauth registrations.1 parent d629d5b commit 1801be3
2 files changed
Lines changed: 0 additions & 29 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
76 | | - | |
77 | 75 | | |
78 | 76 | | |
79 | 77 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1365 | 1365 | | |
1366 | 1366 | | |
1367 | 1367 | | |
1368 | | - | |
1369 | | - | |
1370 | | - | |
1371 | | - | |
1372 | | - | |
1373 | | - | |
1374 | | - | |
1375 | | - | |
1376 | | - | |
1377 | | - | |
1378 | | - | |
1379 | | - | |
1380 | | - | |
1381 | | - | |
1382 | | - | |
1383 | | - | |
1384 | | - | |
1385 | | - | |
1386 | | - | |
1387 | | - | |
1388 | | - | |
1389 | | - | |
1390 | | - | |
1391 | | - | |
1392 | | - | |
1393 | | - | |
1394 | | - | |
1395 | 1368 | | |
1396 | 1369 | | |
1397 | 1370 | | |
| |||
0 commit comments