|
|
@ -154,7 +154,7 @@ class OpenIDController extends Controller {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// If the user has already authorized this app, just redirect
|
|
|
|
// If the user has already authorized this app, just redirect
|
|
|
|
if ( req.user.has_authorized({ id: params.client_id }) ) {
|
|
|
|
if ( req.user.has_authorized({ id: application.id }) ) {
|
|
|
|
return res.redirect(`/openid/interaction/${uid.toLowerCase()}/grant`)
|
|
|
|
return res.redirect(`/openid/interaction/${uid.toLowerCase()}/grant`)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|