]> cat aescling's git repositories - mastodon.git/commit
New env variable: CAS_SECURITY_ASSUME_EMAIL_IS_VERIFIED (#16655)
authorDaniel <git@baby-gnu.org>
Wed, 25 Aug 2021 16:41:24 +0000 (16:41 +0000)
committersingle-right-quote <34298117+single-right-quote@users.noreply.github.com>
Wed, 1 Sep 2021 00:27:19 +0000 (00:27 +0000)
commite192e3cbff946346215cebd68342e41029b8afcf
tree270273ca47d19fa79659e9b733149451a9572581
parente52ae4d38c384ec649c28f8deee9569441b24659
New env variable: CAS_SECURITY_ASSUME_EMAIL_IS_VERIFIED (#16655)

When using a CAS server, the users only have a temporary email
`change@me-foo-cas.com` which can't be changed but by an
administrator.

We need a new environment variable like for SAML to assume the email
from CAS is verified.

* config/initializers/omniauth.rb: define CAS option for assuming
  email are always verified.
* .env.nanobox: add new variable as an example.
.env.nanobox
config/initializers/omniauth.rb