
Security News
ESLint Adds Support for Parallel Linting, Closing 10-Year-Old Feature Request
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.
#Minnie-LDAP
minnie-ldap is an authentication strategy for the minnie gem.
###Install
Add minnie-ldap to your Gemfile
gem 'minnie-ldap'
Now follow the instructions for the minnie gem to run the generator. Here's a hint:
bundle exec rails generate minnie:install
Now get rid of the generated lines in the user model so that your model looks like this:
class User < ActiveRecord::Base
include Minnie::User::Ldap
end
You'll also need to add a username to the migration. Try this on the command line:
bundle exec rails g migration AddUsernameToUsers username:string
You're all done! Now try to sign in to your app at /signin. Make sure you use a valid LDAP user.
###Issues
There isn't much code here so try resolving issues on your own. If you get some issues fixed, send me a pull request!
If you're not making any headway, just create an issue and I'll try to look at it.
FAQs
Unknown package
We found that minnie-ldap demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.
Research
/Security News
A malicious Go module posing as an SSH brute forcer exfiltrates stolen credentials to a Telegram bot controlled by a Russian-speaking threat actor.
Security News
Rspack launches Rslint, a fast TypeScript-first linter built on typescript-go, joining in on the trend of toolchains creating their own linters.