forked from OpenNeo/impress
Yay, we got the API endpoint for this! The `linkage` scope is the key. Rather than pulling back the specific fallback behavior we had wrote for usernames before, which was slightly different and involved appending `neopass` in there too (e.g. `matchu-neopass-1234`), I figured let's just use a lot of the same logic, and just use the preferred name as the base name. (I figure the `neopass` suffix isn't that useful anyway, `matchu-1234` kinda looks better tbh! And it's all fallback stuff that I expect serious users to replace, anyway.) |
||
|---|---|---|
| .. | ||
| application_controller_renderer.rb | ||
| assets.rb | ||
| attack.rb | ||
| backtrace_silencers.rb | ||
| content_security_policy.rb | ||
| cookies_serializer.rb | ||
| devise.rb | ||
| filter_parameter_logging.rb | ||
| inflections.rb | ||
| locale_meta.rb | ||
| mime_types.rb | ||
| permissions_policy.rb | ||
| rspec_generator.rb | ||
| sentry.rb | ||
| session_store.rb | ||
| stripe.rb | ||
| wrap_parameters.rb | ||