1
0
Fork 0
forked from fedi/mastodon
mastodon/app/validators
Alexander 04fef7b888 pam authentication (#5303)
* add pam support, without extra column

* bugfixes for pam login

* document options

* fix code style

* fix codestyle

* fix tests

* don't call remember_me without password

* fix codestyle

* improve checks for pam usage (should fix tests)

* fix remember_me part 1

* add remember_token column because :rememberable requires either a password or this column.

* migrate db for remember_token

* move pam_authentication to the right place, fix logic bug in edit.html.haml

* fix tests

* fix pam authentication, improve username lookup, add comment

* valid? is sometimes not honored, return nil instead trying to authenticate with pam

* update devise_pam_authenticatable2 and adjust code. Fixes sideeffects observed in tests

* update devise_pam_authenticatable gem, fixes for codeconventions, fix finding user

* codeconvention fixes

* code convention fixes

* fix idention

* update dependency, explicit conflict check

* fix disabled password updates if in pam mode

* fix check password if password is present, fix templates

* block registration if account is maintained by pam

* Revert "block registration if account is maintained by pam"

This reverts commit 8e7a083d650240b6fac414926744b4b90b435f20.

* fix identation error introduced by rebase

* block usernames maintained by pam

* document pam settings better

* fix code style
2018-02-02 10:18:55 +01:00
..
blacklisted_email_validator.rb Implement EmailBlackList (#5109) 2017-10-04 15:16:10 +02:00
status_length_validator.rb Fix length validator counting things that look like URIs like URLs (#4462) 2017-07-31 05:06:20 +02:00
status_pin_validator.rb Limit users to 50 lists, remove pagination from lists API (#5933) 2017-12-09 01:32:29 +01:00
unreserved_username_validator.rb pam authentication (#5303) 2018-02-02 10:18:55 +01:00
url_validator.rb Punycode URI normalization (#2370) 2017-04-25 02:47:31 +02:00