You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to change the username regex by overidding ACCOUNTS_USERNAME_REGEX in the invenio.cfg configuration file but it's not working . the default value is always applied .
The text was updated successfully, but these errors were encountered:
You might want to check that you correctly rebuilt your instance if you modified your invenio.cfg to add ACCOUNTS_USERNAME_REGEX. I tested locally with a v11 services instance and the accounts regex worked. Our usernames do not match the InvenioRDM default regex so creating an instance failed while loading the users.yaml fixture but after editing invenio.cfg it completes.
Steps:
edit new ACCOUNTS_USERNAME_REGEX into invenio.cfg
invenio-cli destroy
invenio-cli install --dev (--dev not necessary)
invenio-cli services setup --no-demo-data <-- this failed previously
I'm trying to change the username regex by overidding ACCOUNTS_USERNAME_REGEX in the invenio.cfg configuration file but it's not working . the default value is always applied .
The text was updated successfully, but these errors were encountered: