cschiewek / devise_ldap_authenticatable

Devise Module for LDAP
MIT License
593 stars 359 forks source link

adjustment to the wiki? #225

Closed tuvya closed 6 years ago

tuvya commented 8 years ago

Hi everyone,

thank you for this gem.

I just installed:

using it with Windows Active Directory. Following the instructions in the wiki, it was no problem and works like a charm.

Two minor modifications were necessary in the models/user.rb. _get_ldapid returned nil. I just commented it out. I had to rename the so called "# hack for remember_token" to _def authenticatable__salt (in the wiki: authenticatable_token)

Hope this may help.

cseelus commented 7 years ago

@tuvya Afaik you can make the adjustments to the wiki yourself

androidand commented 7 years ago

I can confirm that the hack needs to be renamed to "authenticatable_salt", at least when using rails 5.

olleolleolle commented 6 years ago

@tuvya Thanks for adding this, I changed the wiki page to include this.

https://github.com/cschiewek/devise_ldap_authenticatable/wiki

Can this now be closed?