gate-sso / gate

Gate is MFA Enabled SSO Platform that supports SAML, OAuth, Linux shell login and CAS
https://gate-sso.github.io
MIT License
203 stars 52 forks source link

Fetch active only user #162

Closed StewartJingga closed 5 years ago

StewartJingga commented 5 years ago

Hi,

Is it possible to modify

/api/v1/users/profile?username={USERNAME}&access_token={TOKEN}

to only return active user object?

Right now it always return inactive user if the username given related to more than one email/user.

Cheers, Stewart

giosakti commented 5 years ago

Closed by #163