Criteria for Usernames and Passwords

Permalink
Is there a configuration where I can modify the retrictions of length and characters (such as a regular expression pattern) for username and password. For example, I want to auto create the accounts and use the user's email for the username or first.last name but it won't allow me to due to the current criteria.

Would also be nice if we could set whether we want the login to use either Username or Email for authentication.

Thanks!

 
andrew replied on at Permalink Reply
andrew
It may have some kinks, but you can set whether you want email to be the login name, vs. a nickname.

Go to

Users > User Registration.

in the dashboard. You should be able to setup whether you want to login with an email address or a username.



If for some reason you don't see this page, you may have to add it (there was a bug in our upgrade process - this likely isn't affecting you, but if you don't see this page you'll have to go to

Pages & Themes > Single Pages

and type "dashboard/users/registration" in the text field at the bottom of the page.
myregistration replied on at Permalink Reply
I upgraded from 2.+ to 5.3.1.1 but I still didn't see a Users -> User Registration menu option. So yes there is a bug in the installation and THANK GOODNESS YOU KNEW!!! Now it is displaying.

I'm not sure how you are affiliated with Concrete5, but if you know the developers can you please ask them to put a not on the installation page. It would have saved me some time and stress. I'd still be trying to debug if you hadn't responded to my post. Thank you again!
andrew replied on at Permalink Reply
andrew
<?php
define('USER_USERNAME_MINIMUM', 3);
define('USER_PASSWORD_MINIMUM', 5);
define('USER_USERNAME_MAXIMUM', 64);
define('USER_PASSWORD_MAXIMUM', 64);
?>
myregistration replied on at Permalink Reply
Any idea why the profile page would say Page Not Found? I have the profile enabled from the Users and Groups -> Users -> Registration and ticked Enable public profiles under Public Profiles. there isn't a Single Page for Profile if that makes any difference. I am using a url similar to the registration page, but /index.php/profile. I tried adding /profile to the Add Single Page input, but when I try to visit the profile link it now gives me Warning messages that /concrete/libraries/view.php script is trying to open /view.php in my themes directory but it doesn't exist. Once you add a single page, how do you remove it? It appears they are added to the Collections table.

Since login.php and register.php scripts are in the /concrete/single_pages/ directory should there should be a profile.php script as well?

Can anyone please help? Thanks!
myregistration replied on at Permalink Reply
I had to copy the /concrete/themes/default/view.php script to my theme directory because it didn't exist. That seems to resolve the problem, but not sure it should already have been there.
myregistration replied on at Permalink Reply
Would be nice to be able to set configs such as these in our own site config file so we don't have to touch the base code.