nitmir / django-cas-server

A Django Central Authentication Service server implementing the CAS Protocol 3.0 Specification
GNU General Public License v3.0
130 stars 44 forks source link

Customisable Django Forms #88

Closed Slixe closed 2 weeks ago

Slixe commented 7 months ago

Hey there, Thanks for your amazing project ! I would like to ask if you would be agree to use utils.import_attr and expose USER_CREDENTIAL_FORM (and others) to have dynamic choice of which form to use directly in settings.py ?

That would be a great feature and would prevent people like me to just overwrite it.

I can do a pull request if you're agree :)

nitmir commented 4 months ago

Hello,

Does 17c54aa1aff2d299bd2f1becea8084f8a87efed7 seems acceptable to you ?

Cheers

Slixe commented 4 months ago

hey there,

lgtm, thanks for your time ! :)