release(v1.7.3): lightweight boot pipeline, dramatically faster first paint, deduped /api writes, sturdier uploads/auth
This commit is contained in:
@@ -70,7 +70,10 @@ class AuthController
|
||||
if ($oidcAction === 'callback') {
|
||||
try {
|
||||
$oidc->authenticate();
|
||||
$username = $oidc->requestUserInfo('preferred_username');
|
||||
$username =
|
||||
$oidc->requestUserInfo('preferred_username')
|
||||
?: $oidc->requestUserInfo('email')
|
||||
?: $oidc->requestUserInfo('sub');
|
||||
|
||||
// check if this user has a TOTP secret
|
||||
$totp_secret = null;
|
||||
|
||||
Reference in New Issue
Block a user