Content-Length: 240666 | pFad | http://github.com/namecheap/ilc/pull/344/commits/d61d96dfb5066737c6f528e234ffff3fffc4e7c8

B5 fix: using a few openIds for user by nightnei · Pull Request #344 · namecheap/ilc · GitHub
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: using a few openIds for user #344

Merged
merged 2 commits into from
Dec 22, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
chore: typo changes
  • Loading branch information
nightnei committed Dec 22, 2021
commit d61d96dfb5066737c6f528e234ffff3fffc4e7c8
2 changes: 1 addition & 1 deletion registry/server/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export default (app: Express, settingsService: SettingsService, config: any): Re

user = entity;

// can be case when user exists in a few openIds, so we try find admin's role
// we may have case when user exists for a few identifiers, so we try find the most permissive role
if (entity.role === AuthRoles.admin) {
break;
}
Expand Down








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/namecheap/ilc/pull/344/commits/d61d96dfb5066737c6f528e234ffff3fffc4e7c8

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy